On 03/07/2018 04:05 AM, Mattia Settin wrote:
Hi
For example I need to check the send buffer size (e.i. SO_SNDBUF)
which is not implemented options.
Regards
Setting the send buffer size at run-time is not supported. We have a
compile time setting TCP_SND_BUF for that. Are you wanting to onl
Hi
For example I need to check the send buffer size (e.i. SO_SNDBUF) which is
not implemented options.
Regards
On Wed, Mar 7, 2018 at 10:55 AM, Mattia Settin
wrote:
> Hi
> Yes you are right but I don't need to touch the pcb, just some check on
> the pcb.
> getpeername stores the address of the
Hi
Yes you are right but I don't need to touch the pcb, just some check on the
pcb.
getpeername stores the address of the peer that is connected socket (it
dosen't return the pcb structure).
Which is the api for retrive the connection tcp data for a certain socket ?
Thanks
reagards
m
On Wed, Mar
Hi
The short answer is: don't. If you're using the socket api you're not
touching the pcb.
What do you really want to do? There are basically two options here
a) Just like your question about getpeername, there's an api for that.
Google is your friend.
or
b) Since the beginning of time peo
Dear all
I developing an application wih lwip 2.0.3 using socket bsd.
The tcp server performs the following operation:
s = socket()
bind
accept //wait a new connection
read //packet received
I need to perform some check on the pcb data of my socket.
I note the get_socket is defined as static and