sockets Questions
5
I have a main thread that waits for connection. It spawns client threads that will echo the response from the client (telnet in this case). But say that I want to close down all sockets and all thr...
Leenaleeper asked 26/5, 2010 at 17:4
6
I am trying to connect my VSCode to a raspberry pi4 via the Remote - SSH extension by Microsoft, but I get a ECONNREFUSED error every time. The error log:
[14:49:20.954] Starting forwarding server....
Agalloch asked 24/3, 2023 at 20:4
3
Solved
There's a code I found in internet that says it gives my machines local network IP address:
hostname = socket.gethostname()
local_ip = socket.gethostbyname(hostname)
but the IP it returns is 192.1...
Dichloride asked 14/10, 2020 at 7:52
4
Solved
I have a serious issue about passing data from BroadcastReceiver to an Activity. Let see my issue carefully. I have a class PhoneStateReceiver extends BroadcastReceiver that used to received an inc...
Gayomart asked 15/8, 2016 at 11:31
3
Solved
I've already checked several questions / answers regarding similar subjects, but can't find the proper answer for my case.
I'm using Spring's RestTemplate but fails to get the response from a thir...
3
Solved
I have implemented a socket client using TcpClient class. So I can send and receive data, everything works good. But I ask some of the guru's out there :) Is there something wrong with my implement...
Hatchet asked 18/1, 2017 at 11:32
4
Solved
At the server side, we use
Socket server = serverSocket.accept();
to create a socket. After the socket is created, we can create a new thread to handle the input/output stream of that socket. S...
M16 asked 18/7, 2013 at 17:37
4
Solved
When a process runs out of file descriptors, accept() will fail and set errno to EMFILE.
However the underlying connection that would have been accepted are not closed, so there appears to be no wa...
4
Solved
Please note, I already know about the streaming nature of TCP connections; my question is not related to those kinds of things. It rather about my suspicion of there being a bug in the Linux socket...
6
I am writing a UDP based client server and have got pretty much the code, but I am confused about how UDP server sends the response back to UDP client, this is my understanding till now:
Suppose a...
6
Solved
I have some model classes like Customer, Product, etc. in my project which have several fields and their setter-getter methods, I need to exchange objects of these classes as a JSONObject via Socke...
7
I am search an admin panel like django’s, why nodejs not have one? could you giveme links o a feedback of the benficts that use this kinds of admins. Is necesary by nodejs??
Administrate asked 11/9, 2013 at 7:10
1
4
I am learning about sockets in Python and came up with
variable = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
I understood the function of this socket.socket and socket.AF_INET but I am cu...
Roofing asked 1/3, 2016 at 14:37
24
Solved
I'm trying to create a custom TCP stack using Python 2.6.5 on Windows 7 to serve valid http page requests on port 80 locally. But, I've run into a snag with what seems like Windows 7 tightened up s...
Scotney asked 6/5, 2010 at 6:12
4
Solved
Every socket of MySQL Database will have defaults connections as 100 but I am looking for any way to increase the number of possible connections > 100 to a socket connection of MySQL Database.
Travancore asked 10/3, 2014 at 10:32
6
Solved
If I want to accept a connection I call accept, but how can I refuse a connection?
In a working socket echo client I have this if statement. In the echo server, how can I make the echo client reac...
3
Solved
I would like to know if its possible to get active WebSockets of a Website.
An example would be: var x = document.findWebSocket().
The websockets would be listed in Chrome under the Network Tab (I...
Rive asked 26/1, 2020 at 6:8
8
Hi I am new to android I am not able to run adb.exe it gives me below error:
==>adb start-server
adb I 6108 5748 adb.cpp:219] Android Debug Bridge version 1.0.32
adb I 6108 5748 adb.cpp:219] Re...
3
What im trying to do is connect to a remote server , read contents from a file on the local machine and send it over to the server. Then capture the server response and save it. I put the GET comma...
1
I'm struggling to understand why I'm getting this error from a part of my program which sends ICMP echo requests on the network. The starnge thing about this is that I can get it to work by letting...
2
Solved
I am new to socket programming and trying my hand on it on Linux machine (ubuntu)
I am unable to understand the option 'SOCK_RAW' and want to learn about it.
What is the significance of the 'SOCK_R...
Mecke asked 11/6, 2015 at 11:54
6
Solved
I'm trying to work with this library for telnet connections. I have called the function correctly and it executes the code below but fails giving the following error:
System.Net.Sockets.SocketExce...
6
I'm stuck on why a node.js app that was moved to an IIS7 server is now failing. I know IIS7 doesn't support web sockets but my understanding was that socket.io would fall back to long polling if we...
Petrify asked 8/6, 2015 at 15:45
1
I wanted to make a very simple proxy using python (mostly to understand how it works). I am talking about a generic TCP proxy, not only http.
I have built the following code, however, it seems to o...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.