473,472 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# - Can TCPListeners share the same port?

2 New Member
I'm writing an application in C#, and I am trying to have a TCPListener listen on a port that is being used by another application. When it starts listening, it throws this SocketException:

Only one usage of each socket address (protocol/network address/port) is normally permitted

Normally? How can I have it listen on that port? Is there some other way?
Nov 26 '07 #1
2 1494
Shashi Sadasivan
1,435 Recognized Expert Top Contributor
I copied the error message on a search engine and ran it,
found this link....

Is that helpful?

Something to do with calling Disconnect instead of closing
Nov 27 '07 #2
The Kingpin
2 New Member
No, I'm hoping to have both listening at the same time. :(
Nov 27 '07 #3

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

Similar topics

0
by: S Johnson | last post by:
>Trying to start first time using command: > C:\mysql\bin\mysqld --standalone > > Yields this error message: Can't find > messagefile'C:mysqin\share\english\errmsg.sys' aborting > > Now in...
23
by: John Bailo | last post by:
I build an NT service using the FileSystemWatcher() class to detect when new files arrive at our ftp server. Now I want to configure it to watch for files on someone else's remote server. ...
0
by: msavoj | last post by:
I have an application that needs to be listening at a specific port. I don't know for sure if another application running at the same desktop would listen at the same port or not. Is it...
346
by: rkusenet | last post by:
http://biz.yahoo.com/rc/040526/tech_database_marketshare_1.html Interesting to see that database sales for windows is more than Unix.
7
by: Sharon | last post by:
Hi all, I've implemented a TCP server using the Socket async methods. When connecting to the server from 3 instances of hyper terminal, i've noticed that each of the newly created server sockets,...
2
by: Goran Djuranovic | last post by:
Hi All, Is it possible to have mulitple TcpListeners on listening on the same IP address and different port? Something like: Dim t1 As New TcpListener("192.168.25.25", 9000) Dim t2 As New...
1
by: rhiansara | last post by:
Hi, I am trying to set up a wired network to share my tesco internet between an Xp PC and a new Vista laptop. I managed to set up the router so that I could share files and printers, but the tesco...
0
by: JedTheHead | last post by:
Windows 2003 R2 SE, SP2. I am using the code below in a VBScript to create printers on a remote printer server, CMC-PRN. The code works flawlessly and creates the port and the printer just fine,...
0
by: david12842 | last post by:
I already have a mysqld running on port 3306 on my linux system and want a second instance on a different port. This is a totally different instance, I don't want it to share data tables or anything...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
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...
0
muto222
php
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.