logo
down
shadow

Sending data over ethernet from a Raspberry Pi to a c# program on a windows PC


Sending data over ethernet from a Raspberry Pi to a c# program on a windows PC

By : user2952537
Date : November 19 2020, 01:01 AM
fixed the issue. Will look into that further Assuming that your RFID reader interfaces with Raspberry-Pi via serial port, the best approach would be to write a simple C program that received data from RFID reader via serial port and send it to your Windows server via TCP/UDP connection.
A bit of googling will give you ways about reading/writing on serial port and connecting to a server via TCP/UDP socket.
code :


Share : facebook icon twitter icon
How can I access netstat-like Ethernet statistics from a Windows program

How can I access netstat-like Ethernet statistics from a Windows program


By : hypertexture
Date : March 29 2020, 07:55 AM
wish helps you A good place to start for network statistics would be the GetIpStatistics call in the Windows IPHelper functions.
There are a couple of other approaches that are possibly more portable:-
Sending data between two ethernet interfaces on the same box

Sending data between two ethernet interfaces on the same box


By : Rinor Tba
Date : March 29 2020, 07:55 AM
should help you out You can not communicate using IP between 1.2.3.4/24 to 5.6.7.8/24 without going though a router. The problem is that IP can only talk to other computers in the same network segment. To calulate the network address you need to do a logic AND between both the interface address and the subnet mask. This will give you the network addresses. If the two network addresses are different then a router will be required. In your example you will have network address 1.2.3.0 and 5.6.7.0. Because these are different it will will to send data.
More importantly most network stacks are smart enough to see that if both interfaces are on the same computer it will not send the data all the way to the phyical interface. It will probably only send the message though the IP stack. But again it would need to be vaild address for it to work.
Must I supply a FCS when sending a raw Ethernet II frame on Windows?

Must I supply a FCS when sending a raw Ethernet II frame on Windows?


By : rayudu
Date : March 29 2020, 07:55 AM
hope this fix your issue It turns out automatically added on transmission and stripped on receipt, by the network interface card. The OS doesn't have to deal with it at all and generally doesn't have access to it.
Import data from Raspberry Pi to PC using Ethernet

Import data from Raspberry Pi to PC using Ethernet


By : Western
Date : March 29 2020, 07:55 AM
I wish did fix the issue. You can use CIFS. Just create a shared folder in Windows and bind it in the /etc/fstab on RPi.
Another approach would be to use SSH i.e. scp.
Sending data via ethernet from C or C++

Sending data via ethernet from C or C++


By : Joseph Raphael Sirya
Date : March 29 2020, 07:55 AM
Hope this helps Take a look at Sockets. The documentation is primarily for unix environments but the API is almost identical on windows. The telnet client you mentioned is built using this API.
Related Posts Related Posts :
  • Bring Powershell-Console to front from WinForms
  • Add IIS AppPool\ASP.NET v4.0 to local windows group
  • Need a startup script in windows to send ALT+F11 keys?
  • Information about DLL files in windows
  • Prerequisites for learning MFC programming
  • Java Version in a batch file
  • cURL in power shell windows 8.1: "A drive with the name 'localhost' does not exist"
  • How can I make a macro to run a few PowerShell commands one after the other?
  • Add a domain user into a local group when the domain is not available
  • windows 7 bat file leaves out parts of the command
  • psql "more is not recognized" error
  • Bundler error when executing berks command from a rake task on windows
  • Echo first three characters of filenames in CMD Windows
  • yii2 composer.phar update is not working
  • Generate memory dump for a windows service that stops unexpectedly
  • send and receive via Serial port Windows
  • Windows driver installation failure after signing and verifying with signtool using cross signed certificates using SHA-
  • Is there any way to make a First Person Shooter input in Windows 8.1?
  • Perl: Check if string is valid directory, case SENSITIVE
  • How to add a program (in this case gmsh) to the PATH
  • Command-line to show a file's properties?
  • ErrorDocument in httpd.conf not working
  • Windows Task Scheduler - specify time window, but only fire once
  • How to delete the mistakenly case-changed renamed tag in github?
  • shadow
    Privacy Policy - Terms - Contact Us © ourworld-yourmove.org