Socket.ReceiveFrom

  • Thread starter Thread starter Chang
  • Start date Start date
C

Chang

why Socket.ReceiveFrom(byte[], ref EndPoint) and SendTo(byte[], ref
EndPoint) uses ref ? I know what ref means but why it has to use ref is the
question.

Thanks a lot,
Chang
 
I think its an artefact from the original code. You should be able to find
the source to an implementation of the Berkeley Sockets Protocol online.

ok,
aq
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top