473,387 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

WindowsXP-Vista, C# :: Difference between TcpListener.Server.Send and TcpClient.Send

15
When a TcpListener accepts a connection, it returns a TcpClient, which allows you to recieve data. But what about TcpListener.Server.Receive? Does that also allow to receive data in the same way? Or does the TcpClient returned only recieve data from that current connection while TcpListener.Server.Receive receives data from all connections? I do have mutliple connections in my TcpListener.
Sep 17 '08 #1
1 2895
Plater
7,872 Expert 4TB
TcpListener.Server returns a reference to the unerlying Socket object. So TcpListener.Server.Receive() is just the Receive function on a Socket object.
TcpClient.Client is the same way.
Sep 17 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Daniel Danilin | last post by:
Hi, is there any plans to make WindowsXP Peer-to-peer SDK for .NET Framework?
4
by: Vishnu | last post by:
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but...
3
by: Kirk Quinbar | last post by:
hi, I have the following sample .NET 1.0 code which converts a metafile to a bitmap: Dim tmpImage As Bitmap 'System.Drawing.Image Dim streamX As New System.IO.MemoryStream() Dim fs As...
2
by: Keyser | last post by:
On most my pages, I use Javascript to play a sound. It works fine in Netscape 4.7, Netscape 7.2, Firefox 1.0, IE5 and IE6 using Windows98 as the operating system. However, using WindowsXP as the...
2
by: Jerry | last post by:
I have WindowsXP Pro and saw somewhere that it contains IIS whereby if it is installed, ASP pages can be run locally. I would appreciate any information anyone can provide regarding this and what...
1
by: Ton | last post by:
I hope someone can help. A few years ago I built an access97 database and program. It ran fine in a setup with 4 users. Earlier this week they upgraded everything to WindowsXP. The access...
2
by: Daniel Danilin | last post by:
Hi, is there any plans to make "WindowsXP Peer-To-Peer SDK" for .NET Framework?
1
by: Dean Slindee | last post by:
Would like to use WindowsXP graphics themes (like shaded tab page in tab control), but am using Windows 2000 operating system. Using Visual Studio 2005 and .Net Framwork 2.0. Have the option...
5
by: Andrius B. | last post by:
I am a newbe in ASP programing. The main problem is: On WindowsXP Professional (SP2) I have installed IIS with all components, I could manage them through "Administrative tolls" in Conrol Panel...
1
by: mmijic | last post by:
First of all my English is not too good so please try to understand me. Thanks I have a major problems with the installation of MS .NET Framework v1.1 on WindowsXP with SP2. Everytime I try to...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.