473,387 Members | 1,374 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.

Question about TcpListener Class

ed
Just a warning, I'm somewhat new to .Net.

I'm working on a small TCP/IP server used to xfer files between machines
over a network. Presently I'm using the TcpListener class with the below C++
constructor:

TcpListener* listener = new TcpListener(IPAddress::Any, 8000);

How can I get a list of the IP Addresses that this listener is listening on?

thanks in advance,
ed
Nov 22 '05 #1
0 773

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: ed | last post by:
Just a warning, I'm somewhat new to .Net. I'm working on a small TCP/IP server used to xfer files between machines over a network. Presently I'm using the TcpListener class with the below C++...
0
by: Swami | last post by:
I wrote a server (code pasted below) that is supposed to receive ASCII text files. For each file I receive, I change some header info and save it as another file on my end. For some reason, the...
1
by: Ray Mitchell | last post by:
Hello, I've inherited the following code and am trying to get it to work. As I understand it's purpose, it creates a server, listens for a client to connect, does some work with the client,...
3
by: Won Won | last post by:
I am writing a simple chat program in C# using TcpListener and TcpClient class. In VB6, Winsock will rise an event when data arrives, but apparently TcpListener does not have that. So how can I...
12
by: Brian Henry | last post by:
I wrote a simple client / server app (nothing major, just sends text) it works fine locally on the same system, but once i move the client to a remote system it errors and gives me "No connection...
1
by: Brian Henry | last post by:
Hello, I was tring to learn socket's (being i never used them before) and have a simple question. I want to create a listner that will get any data recieved and print it out. I've been able to...
3
by: Jerry Spence1 | last post by:
I'm just getting started with a small TCPIP project in VB.Net. I've written a successful bit of code but I'm trying to make it work like VB6 did. In VB6 you have a winsock and set it to connect...
2
by: Terry Olsen | last post by:
Hoping someone can help me here. I've got this code written, and it works fine for the first connection. But if I connect another client (while the first is still connected), I get connected but...
2
by: John F | last post by:
Hello All, My question is about the proper way to setup a listening socket. I have the following code that works fine: IPAddress localAddr = Dns.GetHostEntry(strHostName).AddressList; Int32...
21
by: Markgoldin | last post by:
I am working on a program that creates a few TCP listenrs to accept data from non .net processes. Each listener listens in its own thread. I am using Thread.Sleep(1000) to let other threads work....
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...

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.