[ale] connect()

Joseph A. Knapka jknapka at earthlink.net
Wed Aug 1 16:40:41 EDT 2001


> Chris Fowler wrote:
> 
> When using connect(), I specify the remote TCP Port number to connect
> to.  Is it possible for me to specify the local TCP PORT number to
> connect from?  I would like to specify this and not be assigned some
> random unused port number.
> 
> Thanks,
> Chris

man 2 bind

Bind works on any socket, not just those on which you plan
to call accept().

-- Joe
"You know how many remote castles there are along the gorges? You
 can't MOVE for remote castles!" -- Lu Tze re. Uberwald
// Linux MM Documentation in progress:
// http://home.earthlink.net/~jknapka/linux-mm/vmoutline.html
2nd Lbl A + 1 = 2nd Pause 2nd Prt GTO 2 R/S
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list