All Questions
742
questions
1
vote
0
answers
70
views
How to manage responses from multiple measuring devices to a single TCP/IP port for time sensitive applications?
I am very new to Socket programming, and I would appreciate any input you have in my question.
I am a physicist working on a project where the time intervals and coincidence of measurements play a big ...
-1
votes
1
answer
25
views
Port Scanner not SCANNING
I am new to the world of scripting. I was learning about the python and scripting.
Build a Port Scanner, through 'The Cyber Mentor' Course. Using Oracle VM for this.
I do not know whether the speed is ...
0
votes
0
answers
32
views
timeout with netcat connection and established connection with netstat
I would like to check if there is a open port in remote machine, so I always use:
nc -zv 10.4.2.4 2760
Ncat: Version 7.92 ( https://nmap.org/ncat )
Ncat: TIMEOUT.
Like you see it gives me timeout. ...
1
vote
1
answer
139
views
How to handle inconsistent HttpRequestExceptions when calling external API from web application
While trying to call an external API from react/.NET applications using HttpClient in the background, sometimes we are seeing http exceptions like this:
System.Net.Http.HttpRequestException: A ...
0
votes
0
answers
59
views
Python port scanning with asyncio too many open files
I am trying to build a port scanner in python using asyncio for asynchronous handling.
When trying in the PyCharm env, i don't get any error and ports and shown open as it should.
When trying in ...
0
votes
1
answer
91
views
OSError: [WinError 10049] The requested address is not valid in its context Python code
I am trying to connect to an ip and listen to that port. I keep getting this error message OSError: [WinError 10049] The requested address is not valid in its context It was working when I was using ...
-1
votes
1
answer
76
views
Winsock client not connecting to any server
I made two separate C programs using Visual Studio 2022, A client application and a server application, but my client app cannot connect to any external servers, including google.com. My server works ...
1
vote
1
answer
45
views
Button does nothing in PySimpleGUI
I made a port scanner today and the GUI is very unpolished for now, but when testing it I noticed that when pressing "Scan ports" it does nothing.
I cant find anything obvious in my code. ...
0
votes
0
answers
73
views
Can not use fsockopen to access Tor control port
I installed Tor on my linux system and I'm trying to access control port which should be 9051 as set in config /etc/tor/torrc file:
ControlPort 9051
HashedControlPassword 16:[PWD_HASH]
using PHP ...
-1
votes
1
answer
85
views
how to specify ports number for both sides of a tcp connection (client and server side) in c using sockets
I am trying to replicate this diagram in C:
I have created the request line connection fine, but I can't find any information that has worked on how to create a connection where both sides have ...
0
votes
1
answer
62
views
Why getaddrinfo("localhost", "600", &hints, &listp) creates two socket address which are 0.0.0.0 and 127.0.0.1?
Could anyone explain to me in the code below, why does:
getaddrinfo("localhost", "600", &hints, &listp) create two socket addresses which are 0.0.0.0 and 127.0.0.1?
output:...
0
votes
0
answers
28
views
How to stop program from waiting for a client to connect when using python sockets [duplicate]
I have been trying to make a server that a client can connect to in python using sockets. The problem is that I need the server to not wait for the connection as i need it to do other functions as ...
0
votes
0
answers
64
views
java.net.ConnectException: failed to connect : /192.168.49.1 (port 9999) from /192.168.49.195 (port 35364) after XXms: isConnected failed
I have an Android app where I'd like to send data between 2 devices using Android's WiFi Direct P2P feature. My app is created based on WiFi Direct Demo. The problem is, I want to send data from the ...
0
votes
1
answer
991
views
How to resolve "SocketException" access denied?
I am trying to make my ASP.NET Core (.NET 6.0) application bind to a fixed port that is 49913. I have set this up using the launchSettings.json (for debugging) and appsettings.json (for release) as ...
0
votes
0
answers
36
views
Running three python scripts at the same time in a C# application
I want to run three python scripts that receives images and Json files from a client through different ports using socket programming in a C# application. I run these scripts as three separate ...