I am new to vb.net Why do I get this error statement
systemSocket.Bind(48612)
Error3 Overload resolution failed because no accessible 'Bind' accepts
this number of arguments
Because, as the error message says, there isn't a version of
Socket.Bind() that accepts a single integer as parameter. "Bind" needs
both the interface address and the port number to bind to, which is
given to the socket by an IPEndPoint.
If you're crafting a listening server, you may actually use
systemSocket.Bind( _
New IPEndPoint(IPAddress.Any, 48612))
And the system will setup a socket linstening from address "0.0.0.0",
which will listen from each available interface (or so it seems, I'm
not sure about that =) ).
HTH.
Regards,
Branco.