I have a small server daemon running on a unix-like system, the socket for
the server is a SOCK_DGRAM, the protocol is ETH_DISCO_P (defined by me). I
want to be able to broadcast messages to this server from visual basic. The
server may be running on a mchine with no IP address, but a network link. I
cannot seem to set the protocol of the socket.
I have defined "Private Const ETH_P_DISCO As ProtocolType = &H88AD" same as
in my server daemon.
When I try to open a socket like
"_socket = New Socket(AddressFamily.InterNetwork, SocketType.Dgram,
ETH_P_DISCO)"
i get a socket exception; Message "The requested protocol has not been
configured into the system, or no implementation for it exists"
How can i configure this protocol, or maybe someone know a better way to do
broadcast a message and have a machine with no IP respond (ethernet
messaging). The server and client are both functioning as designed on the
unix-like system. Can this even be done from VB? I am wagering I'll need to
muck with winsock, (oh no, it has been years!). can someone point me in the
right direction?
thanks
--
mike