Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 11th, 2005, 2:02 PM   #1
BrianN
Newbie
 
Join Date: Aug 2005
Posts: 6
Rep Power: 0 BrianN is on a distinguished road
Networking in vb.net

I was wondering if anybody knew how to do some networking in visual basic .net.

I remember reading somewhere on here that if i wanted to make more of a server application i should use vb.net.

Right now i have so far been using the winsock control & vb6 for all my server based applications (and it has a tendency to not be very good at it), does anybody know how to use vb.net for networking?
BrianN is offline   Reply With Quote
Old Aug 12th, 2005, 10:22 PM   #2
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
Yup...Take a look at System.Net.Sockets.TcpClient and System.Net.Sockets.TcpListener
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Aug 15th, 2005, 5:57 PM   #3
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
Yeah, the .NET Framework lets you interact at a much lower level and supports true multithreading, so its a lot better for high load applications. The Tcp objects can be a bit unpredictable though and often raise near-pointless exceptions, so its a good idea to wrapper them in some way. Also, they can lead to race conditions if you're not careful, especially when step-thru debugging, which caused me a lot of grief on an FTP server this morning...
Rory is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:10 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC