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

socket class

Hi,

how do i use socket class to send data to a device which i have that IP
address and Port number e.g 169.254.192.155 RemotePort: 9100 or any IP
address that i want?

Pls advise Thanks
Nov 21 '05 #1
3 1135
You'll want to use the clients (TCP or UDP). MSDN has some examples for you,
and using the classes is pretty straightforward.

http://msdn.microsoft.com/library/de...classtopic.asp
"notregister" <no*********@discussions.microsoft.com> wrote in message
news:E6**********************************@microsof t.com...
Hi,

how do i use socket class to send data to a device which i have that IP
address and Port number e.g 169.254.192.155 RemotePort: 9100 or any IP
address that i want?

Pls advise Thanks

Nov 21 '05 #2
You might like to try a DotNet class (DLL) on:
www.aspsimply.com/vbnet/SocketClass.aspx
which contains lots useful functions for DotNet Socket class, dataor file
transfer

"notregister" <no*********@discussions.microsoft.com> wrote in message
news:E6**********************************@microsof t.com...
Hi,

how do i use socket class to send data to a device which i have that IP
address and Port number e.g 169.254.192.155 RemotePort: 9100 or any IP
address that i want?

Pls advise Thanks

Nov 21 '05 #3
See my help for question "Send message like Yahoo Messenger??"
-Gregory McCallum (MCSD)
"Kevin" wrote:
You might like to try a DotNet class (DLL) on:
www.aspsimply.com/vbnet/SocketClass.aspx
which contains lots useful functions for DotNet Socket class, dataor file
transfer

"notregister" <no*********@discussions.microsoft.com> wrote in message
news:E6**********************************@microsof t.com...
Hi,

how do i use socket class to send data to a device which i have that IP
address and Port number e.g 169.254.192.155 RemotePort: 9100 or any IP
address that i want?

Pls advise Thanks


Nov 21 '05 #4

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

Similar topics

2
by: Ed Fair | last post by:
Hi, I am having a name collision between a library call and a class I've created. My class is called "socket", it abstracts a TCP socket. In my constructors for my class, I am calling the...
4
by: DreJoh | last post by:
I've read many articles on the subject and the majority of them give the same solution that's in article 821625 on the MSDN website. I'm using the following code and when a the client disconnects...
1
by: John Sheppard | last post by:
Thanks to everyone that responded to my previous Socket Programming question. Now I have run into some behavior that I don't quite understand. Programming environment. VS.NET 2003, C#, Windows...
2
by: Droopy | last post by:
Hi, I try to implement a reusable socket class to send and receive data. It seems to work but I have 2 problems : 1) I rely on Socket.Available to detect that the connection is closed (no...
9
by: zxo102 | last post by:
Hi everyone, I am using a python socket server to collect data from a socket client and then control a image location ( wxpython) with the data, i.e. moving the image around in the wxpython frame....
3
by: BuddyWork | last post by:
Hello, Could someone please explain why the Socket.Send is slow to send to the same process it sending from. Eg. Process1 calls Socket.Send which sends to the same IP address and port, the...
0
by: Buddy Home | last post by:
There is two examples of code. Example 1. Send and Receive within the same process. Put this code in a console app called SendAndReceive and run the code. using System; using...
5
by: darthghandi | last post by:
I've created a class to listen to all interfaces and do a BeginAccept(). Once it gets a connection, it passes the connected socket off and stores it in a List. Next, it continues to listen for...
2
by: manasap | last post by:
Hi all! I've written a server and a client application using asynchronous sockets.The client sends data packets for every 7 seconds.The server receives the packets. This process proceeds...
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?
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
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,...
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
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,...
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...

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.