473,395 Members | 1,762 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,395 software developers and data experts.

TCPlistener and tcp client

Hi,

i am fairly new to TCP network programming...

I have write a code from some example code to open a tcplistener and than
try making the tcpclient that send data to the listener..both application
works fine...but the problem is that I doesn't find that how my tcplistener
or server code send its inforamtion or data to the client...

like in peer to peer chat application my client is able to send data but how
i make my server/ chat hoster to send its message..

thanks

Sumit
Nov 21 '05 #1
2 5940
wrox has a good example in one of thier books "Professional vb.net 2003"
download the code from their site for this book, chap 23 "Wrox Messenger"
folder

mike w.

"Sumit Gupta" wrote:
Hi,

i am fairly new to TCP network programming...

I have write a code from some example code to open a tcplistener and than
try making the tcpclient that send data to the listener..both application
works fine...but the problem is that I doesn't find that how my tcplistener
or server code send its inforamtion or data to the client...

like in peer to peer chat application my client is able to send data but how
i make my server/ chat hoster to send its message..

thanks

Sumit

Nov 21 '05 #2
wrox has a good example in one of thier books "Professional vb.net 2003"
download the code from their site for this book, chap 23 "Wrox Messenger"
folder

mike w.

"Sumit Gupta" wrote:
Hi,

i am fairly new to TCP network programming...

I have write a code from some example code to open a tcplistener and than
try making the tcpclient that send data to the listener..both application
works fine...but the problem is that I doesn't find that how my tcplistener
or server code send its inforamtion or data to the client...

like in peer to peer chat application my client is able to send data but how
i make my server/ chat hoster to send its message..

thanks

Sumit

Nov 21 '05 #3

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

Similar topics

1
by: zZ | last post by:
Hi All, I'm building a TCPListener as the server to accept TCPClient connections, using TCPListener.AcceptTcpClient. I'd like to retrieve client's IP after connected, but found no way to do...
1
by: Reshma Prabhu | last post by:
Hello, I have created a client-server application using TcpListener and TcpClient. But the TcpListener stops listening after some amount of time if the client does not send any data. What is...
4
by: Rob White | last post by:
OK, so I have a TcpListener that is waiting for sockets, this piece of code: IPAddress localAddress = Dns.GetHostByName(Dns.GetHostName()).AddressList; IPEndPoint localEP = new...
2
by: MuZZy | last post by:
Hi, The app i develop supose to have a remote control/reporting feature, so that if a client connects to it, he can obtain information about application state and to send some commands. I...
2
by: Dave Coate | last post by:
Hi, I am working on a client-server app. I can get two applications to talk to each other on the same machine using 127.0.0.1, but as soon as I try it using a computer name or actual IP address...
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: Chris Johnson | last post by:
Hey guys, A while back I posted a message about multithreading in .NET 2.0 to maintain GUI responsivness while using a TCPListener to monitor a TCP port for transmission. One of the MVP's in the...
5
by: Jerry Spence1 | last post by:
I have the following example of a tcpListener. I have a device external to my PC which is sending a TCP request on port 10002. This is working OK as I have a network sniffer on my PC and can see...
3
by: Bjørn Eliasen | last post by:
Hi, I have an application running on all pc's in our company. Basically it is a TCPListener awaiting for sockets to connect and on connection performs the required tasks. The app works fine, but...
7
by: ethangk | last post by:
Hey, Im making an app in c#.net, i set up the listener, when it hits the while, it crashes. The code is straight from the ms example, modified a bit for a form instead of command line. Heres the...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...
0
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...
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,...

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.