c# - Can we configure baud rate in socket class for ethernet communication -


i need configure baud rate of ethernet port of pc 100mbps. after searching net, couldn't find way change baud rate in socket in c# code. possible set baud rate ethernet port in c#. need communicate between pc , micro controller. if, in micro controller, baud rate of ethernet port set 100mbps, baud rate of ethernet port in pc set 100mbps automatically?

thank you

i think you've got terms , technologies mixed bit. sounds you're used working serial connections (like rs232 or rs422) both end-points have configured in same manner.

ip networks don't operate way. on modern switch, each connected device can have it's own link speed. computer can connected 1gbps , computer can have 100mbit, dependent on computers interface can handle.

the network protocol use should handle throttling, resending of lost packets , such (like tcp does). if use udp you'll have either not care lost packets, or implement such mechanisms on own.

if connect computer directly micro controller, yes - port speed of computer going 100mbit well. there no guarantee. , if there was, how know micro controller able handle data sent @ maximum theoretical speed?


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -