Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Sockets

Name: SleepyOne 2009-08-14 8:34

Quick question, what's the purpose of binding a socket?  I'm taking a final today, and the other functions make sense to me, but I'm having a hard time understanding Bind.

Socket()
Bind()
Listen()
Accept()
|
|
V
read()
|
write()

Name: Anonymous 2009-08-14 8:36

Nevermind, found out.  It's to assign an address to the socket.  I'm not used to the text board; else I'd just delete these posts.

Name: Anonymous 2009-08-14 8:46

So, this thread was a waste. What should we do with it?

Name: Anonymous 2009-08-14 8:59

Tell him to use send() and recv() instead of plain read() and write()?

Name: Anonymous 2009-08-14 9:24

Use raw sockets. For TCP syn floods. Your school/university will love you.

Name: Anonymous 2010-12-17 1:29

Xarn is a bad boyfriend

Name: Anonymous 2013-01-18 23:28

/prog/ will be spammed continuously until further notice. we apologize for any inconvenience this may cause.

Don't change these.
Name: Email:
Entire Thread Thread List