473,811 Members | 3,719 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Could C# in VS.net support Ethernet communication

Hi,

I am thinking to use C# in MS VS.net to support GUI and
Ethernet communication. I heard that this is doable by opening a
socket. Could sb share more info on this?

Thanks. -Dale
Nov 16 '05 #1
1 3985
Dale,

I don't know what you mean by Ethernet communication, but if you want to
connect to another machine using TCP/IP, or UDP, then you can use the Socket
class in the System.Net.Sock ets namespace.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"dalewz" <da****@yahoo.c om> wrote in message
news:d9******** *************** ***@posting.goo gle.com...
Hi,

I am thinking to use C# in MS VS.net to support GUI and
Ethernet communication. I heard that this is doable by opening a
socket. Could sb share more info on this?

Thanks. -Dale

Nov 16 '05 #2

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

Similar topics

7
3109
by: Chaser | last post by:
Hi folks, Just wondering if anyone knows where I can find modules for NI-488.2 GPIB and for a generic ethercard? Thanks.
3
3028
by: dalewz | last post by:
Hi, I am thinking to use C# and MSCOMM in MS VS.net to support GUI and serial port communication. Is this possible? I know that VB and C++ can. Thanks. -Dale
6
2459
by: Andre Azevedo | last post by:
Hi all, I need to receive and connect using X25 protocol in .Net Framework 2.0 and I'm trying to find the correct address and protocol enumeration in System.Net.Sockets but with no success. Is there a way to do it? Or I need some 3rd party libraries. Any help will be apreciated. TIA,
5
2377
by: MLH | last post by:
Well one thing I've wanted to do is be able to PHYSICALLY connect and dis- connect a PC's xBASE-T connection via program control. The idea is... Instead of plugging your standard R-J45 EtherNET connector into the NIC, plug it instead into a board with a switch on it that will open and close the connection of ALL 8 WIRES in the cable on a signal
13
55404
by: KiwiGenie | last post by:
I am trying to connect to the internet using a USB Ethernet adapter. It installs but won't connect to my dsl modem. The ethernet light on the modem doesn't even light up, though the same cable works plugged from the modem to the ethernet port on hubby's laptop. I thought the adapter was all I needed to connect..what am I missing? Can someone please help point me in the right direction I really am stumped.
11
18808
by: gustavo.samour | last post by:
Hi, I am writing a very basic raw ethernet sniffer based on what I found in Andreas Schaufler's raw ethernet article: http://aschauf.landshut.org/fh/linux/udp_vs_raw/ch01s03.html I'm trying to print the output of each ethernet frame in both hexadecimal and character representations. I'm new at network programming in C. Here's a code snippet:
1
4898
by: kavok | last post by:
I am writing a software that needs to sniff packets in the network (raw ethernet) and also, with another thread send regular UDP packets with the common socket API's. However, when the RAW Ethernet sniffing is on, the socket API calls sending regular UDP packets don't work (although they report no error). Do any of you know why this happens? I'm using linux 2.4.20 (it has to be this version... don't ask me why). This is my code to...
3
6530
by: jh3530 | last post by:
Hello, my apologies for the lame question, but I can't seem to figure this one out. I was recently given a laptop from my inlaws that is running windows 98. I wanted to get internet access on it, but it only had a telephone jack. I bought a USB ethernet adapter thinking this would solve the problem, but alas, it just sits there. It used to have a pcmcia card / adapter, but that got lost somehow. Can I use the USB ethernet adapter? I...
1
3060
by: grndvl1 | last post by:
I am attempting to write an abstract layer to make Ethernet and Serial seemless in my application. I have an interface that is the what I call ILayer it has the method stubs for connect, disconnect, read and write. Next I have an AbstractLayer class that will handle the read and writes and abstract the rest of the methods to the inheriting classes. What I want is to use IOStreams or something similar so to that when I have the Ethernet or...
0
9605
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,...
0
10651
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10136
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
9208
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...
1
7671
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5556
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...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4342
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
3871
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.