lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] [lwip] Q: tcp_connect()


From: Aleksander Wysocki
Subject: [lwip-users] [lwip] Q: tcp_connect()
Date: Wed, 08 Jan 2003 22:28:32 -0000

hi!

looking at this function from "raw api"
i'm a bit confused, because we pass a pcb into it,
and callback function (* connected) , 
gives us also a pcb. 
it seems, that having (void * arg) we can recognize the context
of this callback and associate the proper pcb.
is this redundant, isn't it?
and if not, then why?

(and yes! i understand, it could be an old obsolete parameter in interface,
but i want to be sure (for the future :-)

Olek


[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]