I am working on altera FPGA and have written a client application on uclinux. I have also written server client application in Python. My FPGA Client is able to connect with Python server but it is unable to connect when server is placed on a remote location passing more than one router.
If any one having idea where the probable mistake is and ways to debug the issue
Related
I am developing a project about gps. I am trying to read the location from satellite and want to send them a server by using sockets. My module 'a9g' can read the location and send the things to a server.I have a domain and hosting. Now, I am trying to write a socket server which listens and accepts socket requests and can receive and transmit data. After, I will deploy it to the internet. I tried to do it in asp.net core websockets but my device can't connect to server that I wrote. I can't figure out which programming language should I use and how can I write and deploy a server. (My hosting is windows server.) I will add some photos of my microcontroller's functions and an example server.
Functions:
Socket Functions of microcontroller 1
Socket Functions of microcontroller 2
Socket Functions of microcontroller 3
There is an example server of ai-thinker: http://tt.ai-thinker.com:8000/ttcloud
I need exactly something like that. I have to accept many clients(my modules) and data exchanges between server and them. Could you help me how can I do that?
Additional notes:
1. I can connect the ai-thinker's example server. Send, read data from there.
2. I need to deploy it to my hosting server, so it should work on internet not only locally.
I want to connect Arduino WiFis via WiFi. As Server I'm using a UNO WiFi Rev2 and two Mkr 1010 as Clients (I know it doesn't matter which one is server and which is client).
As server I'm using the standard Arduino AP-programm similar to this:
https://www.arduino.cc/en/Reference/WiFi101BeginAP
As client I'm using the standard Arduino client programm:
https://www.arduino.cc/en/Reference/WiFiClient
Both are working, the server is accessable from a PC, the client connects to a WiFi network.
Problem:
The Arduino client doesn't connect to the Arduino server and I don't understand why. The client simply tries to connect to the network but can't build a stable connection.
I made an app using the barcoding for inventory management, now i need to transfer that data to the computer. For this purpose i used TCP/IP Host client sample applications given in windows mobile 6.5.3 SDK samples.
When i run the application its' fine no errors, shows connected to the Host IP but no data is transferred, When i debugged there is no exception code just works fine but there is no functionality performed. My connection is USB connection. IP shown in host application is correct, my device is also having IP (check through ipconfig). Now when i ping my host computer from device, it is giving error
PING: transmit failed, error code 11010
Is my approach right towards this situation using this data transfer over this socket ? If yes then how can i make this connection successful ? If not what is the other solution for this data transfer from device to computer. (software on device is using SQL CE and application on computer is ASP.NET application using SQL Server database.)
I saw various similar questions about this problem but unable to find any suitable solution. PS i am new this platform of windows mobile/embedded
If not what is the other solution for this data transfer from device
to computer. (software on device is using SQL CE and application on
computer is ASP.NET application using SQL Server database.)
These are some common solutions for client/server communications on Windows Mobile:
Use RAPI or RAPI2 to communicate with the mobile device and host PC using the USB ActiveSync/Windows Mobile Device Center connection. You could use this option to export a CSV file from the mobile device to the host PC. Then you can import the CSV file into the host database. Requires physical access to host PC via USB.
Call a web service to transmit the data to the server. You can write a simple RESTful web service using ASP.NET Web API. If you're using C++ you can use WinInet API, but it's kind of painful. If you're using C# then you have built-in support and it's not an issue.
Use SQL CE Replication.
I'm working on project to develop an software using the TCP/IP protocol. The basic function of the software is to access the client activity running on client machine from server machine, for example information about current running applications.
Also, I want to access desktop screen and mouse from client machine to server machine using TCP/IP protocol. What are the basic steps that I can follow to access the desktop and could handle client mouse from server machine using TCP/IP.
It sounds like you want to build a VNC or RDP -like program. There have been an explosion of these services/programs in the time since you asked the question, though I don't know how many might be open source. I would start by investigating an Open Source VNC client and then see about adding an encrypted tunnel to keep the connection secure.
UltraVNC and TightVNC are popular Open Source VNC clients.
I am trying to run the ZeroMQ's local_thr/remote_thr on SDP (infiniband) compiled on MSVS2012. But it's not connecting.
On IPoIB it is working properly. Operating System is Windows Server 2008 R2. On further investigation I found out that select() calls within ZeroMQ libraries are not working for Asynch accept() and send().
I also created a test application using BSD socket API and used select to accept connection on non blocking socket. But selectis not receiving the event for accept.
Please let me know what can be done to troubleshoot this issue.