how (if possible) i know the client ip before i make the call to accept(), ?

1- bind port (dunno if this is realy necessary...)
2- wait for a client....

thanks,
jean/coder7345
Posted on 2002-02-13 18:44:25 by coder
take a look at the socket tuts from this page.
there are much more functions then : accept
:)

also you find in this tuts infos on how to bind a port to a portnumber and wait for connection.

next good idea is to read some stuff from here ,i dont like to search all links for you and poste them here but all your questions ,and much more ,are answered here allready.....

dont mean it arogant ,but try searching first :)
Posted on 2002-02-14 02:35:01 by Max