Documentation of STM32F3 for Ethernet/TCP-IP - stm32

I want to use Ethernet TCP-IP communication between an STM32F3 and a computer.
I am using an ENC28J60 module for this. But all the codes I've tried do not work. Where can I find documentation for this communication?
Resources I've used:
https://github.com/xukai871105/uip_freemodbus_tcp (I changed it to STM32F3 but the communication didn't succeed).
https://github.com/search?q=enc28j60+tcp+stm32

Related

T-PicoC3 how to configure Micropython Network/Sockets using ESP32 over UART as NIC?

I'm using a T-PicoC3 and a custom build of Micropython on the RP2040. The only notable difference in the build is the inclusion of network, sockets, websockets, webrepl.
I'm getting the error: "OSError: no available NIC" which makes sense, as I have no NIC defined. The issue is, there are no documents on how to establish an ESP32 running AT commands over UART as a NIC. If this is even possible?
The end goal is to use ntptime and other u/socket based libraries on the T-PicoC3 without modification.

Where to find the documentation of ENPC (UDP port 3289, printer discovery)?

I want my software to communicate with thermal printers and wonder how to do a network search for them. I have found out so far that it can be done via the "ENPC", which uses UDP port 3289. But where to find the details?
Here is the only hint I found so far:
https://epson.com/faq/SPT_C11CG18201~faq-0000525-shared?faq_cat=faq-8796127635532

how can I implement IP in IP protocol (IP encapsulation) in c++?

I want to route my tcp packet from A to B through C.
I am new to network programming and some code samples will be very helpful.
Is there a way to do it through boost library?
how can I implement IP in IP protocol
Read the C++11 standard n3337. IP is not even mentioned there.
So you cannot implement IP in IP in standard hosted C++ code.
However, your device or computer might run some Linux kernel (e.g. on RaspBerryPi). Then you should read Advanced Linux Programming and syscalls(2), proc(5) and ip(7) and iptables(8) and several Linux HowTO-s
Is there a way to do it through boost library?
Did you read the documentation of boost? Did you consider using POCO or Qt libraries ?

Arduino Uno and enc28j60 with UIPEthernet library

I have Arduino uno r3 with enc28j60 ethernet shield connected with Livebox router and I am trying to use the UIPEthernet library ( https://github.com/ntruchsess/arduino_uip ).
I found this web page: http://www.lucadentella.it/en/2013/12/10/enc28j60-e-arduino-16/ and I made changes in the official WebServer sketch as it was said there.
The problem is that in the Serial Port Monitor I only see "server is at 192.168.1.177". It should be there much more informations like in the web page mentioned before. The address 192.168.177 in my browser is also unavaible.
How can I fix this?
You need to be sure that 192.168.1.177 is an appropriate address for your network. What is the ip address of the machine running the browser?
Post the network configuration of the machine with the browser here (I'm assuming 192.168.177 is a typo and you meant to type 192.168.1.177 and are typing this into your web browser).

Stun and P2P communication in C#

I'm new to network programming. I want to traverse NAT using Stun. I use the Stun client application defined in code project Stun Client. It returned me a mapped IP and port. But I don't know how to use the IP and port for P2P communication in C#.NET.
Please help me. Any help will be appreciated.
If you're looking for some general background to get you started, look at this related question:
.NET and P2P - writing a P2P messenger
HI all
we found that, we can traverse NAT using vs2010 (.net4.0) . there is a method AllowNATTraversal(bool value). set the value true for NAT Traverse. It uses Ipv6 adsdress for connectivity. You can get Ipv6 global address from teredo server by writing some comands in command prompt.