Link to home
Start Free TrialLog in
Avatar of addicktz
addicktz

asked on

System.Net.Sockets :: Explained :: (1/2)

What I want to accomplish:
I am trying to connect to a computer using DCC over IRC and save a file that the computer will be sending me.
http://www.irchelp.org/irchelp/rfc/dccspec.html
This is a two part questions, each part worth 500 points each.

Ok, What I Have::

I have an IP Address, and I have a port.

What I need to do:

I need to connect to that IP @ that port...
I need to recieve a file from that connection and save it...

What I want from this Question:
I need someone to explain to me a way to create a class that will handle the connection and the data-arrival.
Avatar of Howard Cantrell
Howard Cantrell
Flag of United States of America image

Here is a link to the  MS samples

http://msdn.microsoft.com/vbasic/downloads/samples/101samples.aspx

inside the sample codes is a app. for sockets.
That uses text transfer.
I think you can adapt it to fit your needs.

101 VB.NET Samples\VB.NET - Advanced .NET Framework (Networking) - Use Sockets
Avatar of addicktz
addicktz

ASKER

i appreciate the link
ASKER CERTIFIED SOLUTION
Avatar of Howard Cantrell
Howard Cantrell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial