473,815 Members | 2,051 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

15 New Member
When a TcpListener accepts a connection, it returns a TcpClient, which allows you to recieve data. But what about TcpListener.Ser ver.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.Ser ver.Receive receives data from all connections? I do have mutliple connections in my TcpListener.
Sep 17 '08 #1
1 2943
Plater
7,872 Recognized Expert Expert
TcpListener.Ser ver returns a reference to the unerlying Socket object. So TcpListener.Ser ver.Receive() is just the Receive function on a Socket object.
TcpClient.Clien t is the same way.
Sep 17 '08 #2

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

Similar topics

1
1839
by: Daniel Danilin | last post by:
Hi, is there any plans to make WindowsXP Peer-to-peer SDK for .NET Framework?
4
7334
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 no use. This is working fine on win2k IE6 Here is the html file I am using to display the tif file <html> <head>
3
1787
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 FileStream, br As BinaryReader Dim FilePath As String Dim data() As Byte
2
2194
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 operating system, the entire Netscape 7.2 browser and Firefox 1.0 browser shuts down when I try to use the Back button on these pages. Is there some setting in Windows XP that is causing this or is there something I can add to the Javascript to...
2
1213
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 it takes to run ASP pages locally. Thanks! Jerry
1
1278
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 application and database now only work in single user mode. The program starts ok and the menu is shown etc. But updating a record isn't possible they get an error like ".../.../xxx.mdb is invalid"
2
2140
by: Daniel Danilin | last post by:
Hi, is there any plans to make "WindowsXP Peer-To-Peer SDK" for .NET Framework?
1
1151
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 "Enable XP visual styles" checked in the Project's Application tab. Following code was placed in the frmMain_Load event, but still no XP themes. What else must be done? 'use WindowsXP themes
5
1057
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 (I see all the items as I should see after the installation according all manuals.) But when I tried to execute the *.asp files on my local disk with my IE, nothing hapens, t.i. even such code as below doesn't work at all: <%@ language...
1
1615
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 install it I get a popup with the following message: "Application popup: RegSvcs.exe - Common Language Runtime Debugging Services : Application has generated an exception that could not be handled.
0
9736
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9611
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10428
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10145
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9226
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6897
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5570
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4359
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3888
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.