S
Stephan Eberle
Hi @ll...
I wanted to code a small proxy-like program for testing purposes. Another
application binds to a local port 12203 and listens there for incoming
datagrams and sends datagrams. My proxy schould then take the datagrams sent
by the other application and forward them. In return, it has to receive the
incoming datagrams from the "server" (remote machine) and forward the data
to the local port. I did it before with vb6 and it worked very well.
But I have just no clue how to code the following lines in .NET. Could
someone please point me into the right direction?
----------------------------------------------------------------------------
-------------------
With Winsock1
.Protocol = sckUDPProtocol
.Bind 12000
End With
Winsock1.SendData strData
I wanted to code a small proxy-like program for testing purposes. Another
application binds to a local port 12203 and listens there for incoming
datagrams and sends datagrams. My proxy schould then take the datagrams sent
by the other application and forward them. In return, it has to receive the
incoming datagrams from the "server" (remote machine) and forward the data
to the local port. I did it before with vb6 and it worked very well.
But I have just no clue how to code the following lines in .NET. Could
someone please point me into the right direction?
----------------------------------------------------------------------------
-------------------
With Winsock1
.Protocol = sckUDPProtocol
.Bind 12000
End With
Winsock1.SendData strData