|
-
Mar 23rd, 2006, 04:21 PM
#1
Thread Starter
New Member
Help setting socket protocol
I have a small server daemon running on linux, the socket for the server is a SOCK_DGRAM, the protocol is ETH_DISCO_P (defined by me). I want to be able to send messages to this server from visual basic.
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 some one know a better way to do this. The server and client are both working from linux. Can this even be done from VB?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|