I am very new to this... I just started playing around with some network
programming. I really only use vb.net. I say that so I don't get the 'use
c/c++' answer. Programming is a hobby for me, not a career. I'm only
interested, at least right now, in playing around with vb.net and maybe some
c#.net. I'm not sure if this is the right
forum or not but...
my first question is to make sure I understand something:
1) the main difference between sockets or the higher level
tcpclient/udpclient etc.. classes is that the latter (derived from the
former) has fewer options/functionality and is synchronous only, for asynch
operation you would need to manage your own threads; AND the former
(sockets) has more options/functionality including their own asynch methods
(beginconnect, endconnect, etc..) which handle the multiple threads for you.
is this correct?
2) If my goal is to eventually right somewhat in depth and/or powerful
network programs should I even bother with the tcpclient/udpclient etc..
classes or should I just start with learning sockets directly?
any input on this would be greatly appreciated. thanks. 2 3291
I'm been struggling through sockets recently myself. This link might be
of help. http://www.catalyst.com/products/soc.../tcpdoc02.html
djc wrote: I am very new to this... I just started playing around with some network programming. I really only use vb.net. I say that so I don't get the 'use c/c++' answer. Programming is a hobby for me, not a career. I'm only interested, at least right now, in playing around with vb.net and maybe some c#.net. I'm not sure if this is the right forum or not but...
my first question is to make sure I understand something: 1) the main difference between sockets or the higher level tcpclient/udpclient etc.. classes is that the latter (derived from the former) has fewer options/functionality and is synchronous only, for asynch operation you would need to manage your own threads; AND the former (sockets) has more options/functionality including their own asynch methods (beginconnect, endconnect, etc..) which handle the multiple threads for you.
is this correct?
2) If my goal is to eventually right somewhat in depth and/or powerful network programs should I even bother with the tcpclient/udpclient etc.. classes or should I just start with learning sockets directly?
any input on this would be greatly appreciated. thanks.
I'll check it out. Thanks.
"cj" <cj@nospam.nospam> wrote in message
news:e2**************@TK2MSFTNGP10.phx.gbl... I'm been struggling through sockets recently myself. This link might be of help.
http://www.catalyst.com/products/soc.../tcpdoc02.html
djc wrote: I am very new to this... I just started playing around with some network programming. I really only use vb.net. I say that so I don't get the
'use c/c++' answer. Programming is a hobby for me, not a career. I'm only interested, at least right now, in playing around with vb.net and maybe
some c#.net. I'm not sure if this is the right forum or not but...
my first question is to make sure I understand something: 1) the main difference between sockets or the higher level tcpclient/udpclient etc.. classes is that the latter (derived from the former) has fewer options/functionality and is synchronous only, for
asynch operation you would need to manage your own threads; AND the former (sockets) has more options/functionality including their own asynch
methods (beginconnect, endconnect, etc..) which handle the multiple threads for
you. is this correct?
2) If my goal is to eventually right somewhat in depth and/or powerful network programs should I even bother with the tcpclient/udpclient etc.. classes or should I just start with learning sockets directly?
any input on this would be greatly appreciated. thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Mike Dole |
last post by:
I'm working on a client - server application based on the 'How to
Sockets Server and How to Sockets Client' code from the Visual Basic
..NET Resource Kit.
Since I want to be able to send 'big...
|
by: Laxmikant Rashinkar |
last post by:
Is there any way to use a C# socket in promiscuous mode?
Any sample code that shows how this is done?
any assistance is much appreciated!
thanks
LK
|
by: Torsten Brasch |
last post by:
Hi All and Happy New Year ;)
I have a very strange problem with System.Net.Sockets.TcpClient().
For some reason, the number of bytes I can receive is limited to 5460 bytes.
I made sure that the...
|
by: Sueffel |
last post by:
Boy, someday I may get good at this stuff! Until then, I have a "TCP
server" that accepts multiple connections. That all works wonderfully!
YEAH!!!! I have a TCPClient that is the client...
|
by: BadOmen |
last post by:
Hi,
What is the different between 'System.Net.Sockets.Socket' and
'System.Net.Sockets.TcpClient'?
When do I use System.Net.Sockets.TcpClient and System.Net.Sockets.Socket??
Yours, Jonas
|
by: J C |
last post by:
Hi,
I'm using UDPClient to make a simple DNS server. I notice that
intermittently and unpredictibly I get:
Unhandled Exception: System.Net.Sockets.SocketException: An existing
connection...
|
by: eliss.carmine |
last post by:
I'm using TCP/IP to send a Bitmap object over Sockets. This is my first
time using C# at all so I don't know if this is the "right" way to do
it. I've already found out several times the way I was...
|
by: James Mills |
last post by:
On Fri, Sep 19, 2008 at 6:24 AM, Fredrik Lundh <fredrik@pythonware.comwrote:
There is also one more alternative:
pymills - current version 3.4
It has a different design goal to twisted
and...
|
by: keithseah |
last post by:
Hi all,
i've been having this problem and its kiiling me! i'm a newbie at this so i hope someone would be able to help me.
picture link:...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |