Announcing message-io 0.12 - an event-driven message library to build network applications easy and fast. Now with zero-copy write/read messages. Performance close to using native OS socket with all the facilities the library offers. github.com/lemunozm/messa…
πŸ‘︎ 208
πŸ’¬︎
πŸ‘€︎ u/lemunozm
πŸ“…︎ Apr 08 2021
🚨︎ report
Home network connecting a second router using bt master socket, 2 pair cable and sub socket upstairs help

Hi everyone so I've had a little look around and couldn't find the situation I was looking for.

A little about the situation.. I am currently with bt and have my hub connected to the master socket near the wall which at the other end of my home doesn't give me great signal.. I do have a 2 pair cable running from my master socket to a sub port up stairs on the second floor but when I've tried putting a second hub in place I've hit a brick wall.. Is there any way of running a second WiFi hub using the second port that's connected to the master socket? If so what type of cable would I need and what settings will I need to put in?

Any help or links to previous posts will be amazing

Thanks,

Adam

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/Adamnorthwest
πŸ“…︎ May 16 2021
🚨︎ report
Pygame Multiplayer Framework: Hey everyone here is a little framework I made to help you get started making multiplayer games with Pygame and Sockets. The framework comes with movement and jumping over the network here is the github repo - https://github.com/Len-Stevens/Pygame-Multiplayer-Framework
πŸ‘︎ 39
πŸ’¬︎
πŸ‘€︎ u/CryptoBlocks257
πŸ“…︎ Mar 13 2021
🚨︎ report
A social network built with React, Express, Socket.io github.com/Ananto30/golpo…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/ananto_azizul
πŸ“…︎ Apr 03 2021
🚨︎ report
Network socket

Can a network cable be used to operate the nema 17 motors?

Or you have to crimp the network plugs yourself with thicker cables.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Gangwi16
πŸ“…︎ Mar 20 2021
🚨︎ report
Anyone has any idea what this socket is and what is it for? It's on a chip board for a network card
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/hayashizen
πŸ“…︎ Jan 17 2021
🚨︎ report
Socket network programming

I'm working on a project in Rust that needs to do socket network programming. The project runs on macOS, Linux and BSD.

It seems that Rust has multiple options for socket programming, but each with its own problems (in my view):

  1. `std::net` - does not support low-level socket APIs, for example `setsocketopt`.
  2. crate `socket2` - does not support related APIs, for example get all local interface IP addresses.
  3. crate `nix` - does not provide a Rust `socket` abstraction, using `RawFd` instead.

And because there are 3 of them, the mixing of their definitions can also cause confusions.

I'm wondering what others are using for doing socket low-level network programming in Rust? Did I miss something that is obvious better?

I'm also wondering if Rust team has a plan for a single best crate/tool for socket programming in Rust? Thanks.

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/keepsimple1
πŸ“…︎ Dec 14 2020
🚨︎ report
How to use socket programming in cpp to chat over the same Wi-Fi network
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/aniket1101
πŸ“…︎ Jan 09 2021
🚨︎ report
As of this update, PC client appears to be using Steam Network Sockets, which means your IP is now hidden from other players and you cannot be DDoSed.

So, Proof is incredibly difficult without going very deep into the technical way it was discovered (Binary reversing, looking at the assert strings). However, This update changed Destiny 2 PC to use Steam Network Sockets rather than normal Windows Sockets.

What does that mean? This means that Peers (other players, servers, etc) are no longer addressed by IP Address, but instead a Steam ID. Valve then takes this Steam ID Address, routes packets to the nearest Steam Data Center, then bounces the packets around inside of Steam's data network and exits them closest to the peer. The only IPs you would see are entry points to the Steam network, which masks your IP from your neighbors.

the tl;dr: You can no longer be DDoSed. Your IP is hidden from other players in the game.

You can read more about Steam Network Sockets here: https://github.com/ValveSoftware/GameNetworkingSockets and here: https://partner.steamgames.com/doc/api/ISteamNetworkingSockets

EDIT: This might be why Bungie updated their networking guide: https://twitter.com/BungieHelp/status/1237424151767310336

EDIT2: I should be clear, there are other ways to leak your IP address to an attacker (so practice good internet hygiene), but the game itself does not leak your IP anymore.

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/RoyAwesome
πŸ“…︎ Mar 10 2020
🚨︎ report
TCP tool for network performance and path monitoring, including socket statistics. github.com/mehrdadrad/tcp…
πŸ‘︎ 26
πŸ’¬︎
πŸ‘€︎ u/mehrdadrad
πŸ“…︎ Dec 02 2020
🚨︎ report
Can 1 x M.2 connector (Socket 3, M key, type 2260/2280 SATA and PCIe 3.0 x4/x2 SSD support) on X570 I AORUS PRO WIFI be used for m.2 network expansion cards?

Hi there,

Anyone know if the rear mounted M.2 on the X570 I AORUS PRO WIFI be used for any use other than storage?

Specifically, I am trying to find out how I can have my cake and eat it too by adding additional network ports to the above mentioned motherboard while also utilizing the x16 slot for a graphics card.

Ultimately I will be doing some labbing and want the graphics card and additional physical network interfaces available for VM passthrough.

Thanks for your time!

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/pottertown
πŸ“…︎ Jan 18 2021
🚨︎ report
TCP tool for network performance and path monitoring, including socket statistics.

Hi, I developed this tool recently and I just wanted to share with you. please check this out and let me know if you have any questions/concerns/ideas. Thanks!
https://github.com/mehrdadrad/tcpprobe

πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/mehrdadrad
πŸ“…︎ Dec 07 2020
🚨︎ report
My antivirus spreads all over the network, (except the nodes that are connected to the network sockets) before they break down the first code door. link.hackersthegame.com/v…
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Ian_Diarte
πŸ“…︎ Dec 01 2020
🚨︎ report
Local Network TCP socket issue

Hi All,

My app connects to a wifi source (given off by the product) which it then connects to via TCP to send/receive data. The Wifi source does not have an internet connection.

This normally works completely fine with no issues.

However I have had users report recently that they are unable to connect to the device via TCP. After some troubleshooting they were able to get this working by enabling Airplane mode and then connecting to the Wifi source.

I am assuming that because the Wifi does not have an internet connection, some devices are triggering the Wifi assist feature and using cellular data, hence blocking the TCP connection from going through.

Does anyone have any solution other than enabling airplane mode/disabling cellular?

I am using both CocoaAsyncSocket and NMSSH libraries for the TCP sockets. I also have some services that read an incoming UDP stream from the wifi source and this still works when TCP does not.

Thanks! TB

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/tommy-b-10
πŸ“…︎ Dec 18 2020
🚨︎ report
My apartment has a coaxial wall socket with the NBN logo on it. Do I also need a Network Termination Device?

Just moved into an older apartment with an HFC connection, Aussie Broadband says I might need an NTD.

However, my house has a wall socket with an NBN logo on it. Does that mean everything is already all set up?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/blagojevich06
πŸ“…︎ Oct 13 2020
🚨︎ report
TCPProbe is a tool for network path and service monitoring (linux socket tcp_info + http metrics) github.com/mehrdadrad/tcp…
πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/mehrdadrad
πŸ“…︎ Nov 05 2020
🚨︎ report
Which (network) socket type is that ?

Hi,

(My first post - yay)

I need your help because I have never seen a network socket like that. I did some research but haven't found useful information. The cabling is allegedly from the year 2010.

https://i.ibb.co/4FSf9Dz/2020-09-16-16-49-57.jpg

I am pretty clueless.

Thanks for your help

πŸ‘︎ 8
πŸ’¬︎
πŸ“…︎ Sep 16 2020
🚨︎ report
Is SFML Network a better choice than Winsock2 for Sockets in C++.

I'm looking for a lightweight socket library for C++. Microsofts Winsock2 looks meh compared to SFML documentation.

πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/JeSuisSurReddit
πŸ“…︎ Jun 19 2020
🚨︎ report
Bungie, It's Time. Steam Network Sockets Just Don't Work

It's been almost 4 months now, and the constant beavers and other network disconnects haven't gotten any better. In fact, after this last "fix" that was put in to help with them, my beavers have gotten even worse.

It's time to admit, using Steam Network Sockets just isn't working. While it may be helping prevent the DDOSing during PvP, there's so many other cheats that people are using that getting DDOSed is the least of their concern.

The PvE experience has been utterly ravaged with all these disconnect issues, and has turned my play experience from something that was consistent into a guessing game on whether or not I'll get to actually play the activity I want.

Forget weapon and armor sunsetting. Forget the lack of content and bounty grind. I'm letting you know now, I'm not getting the next expansion until SNS is removed and the connection issues are resolved.

πŸ‘︎ 20
πŸ’¬︎
πŸ‘€︎ u/Caldorian
πŸ“…︎ Jun 28 2020
🚨︎ report
This guy is an ISP "Engineer" and is hoping to improve the LTE reception on his home network. The blue cable on the right is 240VAC and is on a socket next to his TV. Tonight's forecast is thunderstorms...
πŸ‘︎ 48
πŸ’¬︎
πŸ“…︎ Jul 21 2020
🚨︎ report
[Windows, bug] Can't use aria2c with youtube-dl; "A socket operation was attempted to an unreachable network."
>youtube-dl.exe --external-downloader aria2c https://www.youtube.com/watch?v=O2W0N3uKXmo -v

[youtube] O2W0N3uKXmo: Downloading webpage

[debug] Default format spec: bestvideo+bestaudio/best

[debug] Invoking downloader on 'https://r2---sn-u2bpouxgoxu-jcge.googlevideo.com/videoplayback?expire=1599063071&ei=v29PX9e_Ks3Nz7sPhfWC4AQ&ip=nice&id=o-AFFDouzJ8RMGu9k6x1iTaMuI6gA2cQV_m053ocwk8e2v&itag=308&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C298%2C299%2C302%2C303%2C308%2C394%2C395%2C396%2C397%2C398%2C399%2C400&source=youtube&requiressl=yes&mh=JC&mm=31%2C29&mn=sn-u2bpouxgoxu-jcge%2Csn-ntq7ynle&ms=au%2Crdu&mv=m&mvi=2&pl=24&initcwndbps=1347500&vprv=1&mime=video%2Fwebm&gir=yes&clen=102450530&dur=108.975&lmt=1574931551273939&mt=1599041321&fvip=2&keepalive=yes&beids=9466588&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAOr4R44MK6wRhFiXgookv2K-5FZNA14IYeSAX4NPwEIeAiEAofvAT6-jMU1ZSOlwUJYpOssoUT_zqEp4uSeTG8ZXsdk%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhAMg3uSL2Lu1JUH-TEqkBD0Y-fRkhvkhTXe0fJuaF8GEPAiA82E9RC5RrzWgEAKDAk0MxhuREKo9XVw4RY1mwF5lSMA%3D%3D&ratebypass=yes'

[download] Destination: Half-Life - Alyx Announcement Trailer-O2W0N3uKXmo.f308.webm

[debug] aria2c command line: aria2c -c --min-split-size 1M --max-connection-per-server 4 --out "Half-Life - Alyx Announcement Trailer-O2W0N3uKXmo.f308.webm.part" --header "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" --header "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7" --header "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3519.1 Safari/537.36" --header "Accept-Encoding: gzip, deflate" --header "Accept-Language: en-us,en;q=0.5" "--check-certificate=true" "--remote-time=true" -- "https://r2---sn-u2bpouxgoxu-jcge.googlevideo.com/videoplayback?expire=1599063071&ei=v29PX9e_Ks3Nz7sPhfWC4AQ&ip=nice&id=o-AFFDouzJ8RMGu9k6x1iTaMuI6gA2cQV_m053ocwk8e2v&itag=308&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C298%2C299%2C302%2C303%2C308%2C394%2C395%2C396%2C397%2C398%2C399%2C400&source=youtube&requiressl=yes&mh=JC&mm=31%2C29&mn=sn-u2bpou
... keep reading on reddit ➑

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/King_Millez
πŸ“…︎ Sep 02 2020
🚨︎ report
Lights / sockets no longer connected to network.

Randomly yesterday, all of my smart lights and sockets stopped working with gogole home / smart life. They still function as dumb lights and plugs, but they show as "device offline" in smart life and Google home apps. I know this is not exactly a Google home issue, but I dont really know where else to post.

Any suggestions? I've tried unplugging the plugs and the lights have been left off to try and reset them, but nothing seems to work. Its been quite odd having to actually flip light switches for the last 2 days, they have all worked flawlessly for the past 2 years.

Edit: fixed, it was the router! Thanks u/bubbanbrenda

πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/nateshoe91
πŸ“…︎ Sep 16 2020
🚨︎ report
Seems pretty logical this is what I asked for trying to debug freezes on reading from network socket
πŸ‘︎ 27
πŸ’¬︎
πŸ‘€︎ u/igorepst
πŸ“…︎ Aug 20 2020
🚨︎ report
Connecting PC and laptop on home network through Java sockets - Windows firewall problem

Hi everyone,

Apologies if this is more of a programming question, but I think the issue is specifically my firewall settings. Note that the only firewall I have is the Windows Defender Firewall. I am on a standard home network with many devices. My PC uses a USB network adapter and my laptop uses a wireless network card.

I have written a simple Java sockets program that runs a server socket on my PC. I can connect to the server (successfully from the PC) using the appropriate IP and port through the browser or a using a simple client program I have written.

From my laptop, I can connect to my PC only when the PC's firewall is turned off in public network settings. Disabling all inbound and outbound rules on the PC's firewall does not allow connection, neither does allowing the particular port over TCP, allowing all connections from the local IP of the laptop, etc. Only disabling the firewall of my PC (the server) allows a connection from my laptop. Many places online suggest "opening the port" but I have tried opening the appropriate local port with no success.

I have used Wireshark to look at the packets (from my PC's/server's perspective) and have provided these below. The first is when the firewall is off completely and a successful connection is made. The second is when the firewall is on and the connection fails. 192.168.1.148 is for the PC/server, and 192.168.1.248 is for the laptop/client. (Please let me know if there is anything in these pictures I should not have released publicly.)

https://imgur.com/a/SAI1Fnp

https://imgur.com/a/t6o1fr6

By default, I cannot ping my PC from my laptop (and vice versa) but I was able to resolve this easily by adding an inbound rule on my PC/laptop to allow ICMPv4 and specifying the local IP of my laptop/PC in the remote addresses box. However, using protocol type any/TCP/etc, opening ports, etc does not allow the Java program to connect (unless I disable the firewall on the PC).

Question 1: What do I need to do with my firewall to enable these connections (and similar)?

(Bonus) Question 2: In Windows Defender Firewall, is it safe to choose "Any IP address" for "Which local IP addresses does this apply to" local IP address and then specify the local IP addresses under "Which local IP addresses does this apply to"? This part confuses me. The IP I am specifying for my laptop (19

... keep reading on reddit ➑

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Rory_97
πŸ“…︎ Aug 08 2020
🚨︎ report
python requests error: OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted

hey so i am learning pen-testing and i was making a script that is supposed to check what directories are on a website from a word list using requests basically if the response status code is 200 or 301 or 403 it is supposed to print the request path as well as the response code but when i run this i get the error above:

import requests

path = "http://(ip_of_website)/"
wordlist = "directory-list-2.3-medium.txt"
file = open(wordlist, "r")
len_of_path = len(path)
class main():

	for line in file:
		path = path + line.strip()
		res = requests.get(path)
		stat_cod = res.status_code
		if stat_cod == 200 or stat_cod == 301 or stat_cod == 403:
			print(path + " " + str(stat_cod))
		path = path[:len_of_path]

wordlist = "directory-list-2.3-medium.txt" file = open(wordlist, "r") len_of_path = len(path) for line in file: path = path + line.strip() res = requests.get(path) stat_cod = res.status_code if stat_cod == 200 or 301 or 403: print(path + " " + str(stat_cod)) path = path[:len_of_path]

the full error log is:

http://website-ip/index.html 200
http://website-ip/server-status 403
http://website-ip/img 200
http://website-ip/css 200
http://website-ip/wordpress 200
http://website-ip/manual 200
http://website-ip/js 200
http://website-ip/vendor 200
http://website-ip/fonts 200
Traceback (most recent call last):
  File "path\to\project\venv\lib\site-packages\pip\_vendor\urllib3\connection.py", line 159, in _new_conn
    conn = connection.create_connection(
  File "path\to\project\venv\lib\site-packages\pip\_vendor\urllib3\util\connection.py", line 84, in create_connection
    raise err
  File "path\to\project\venv\lib\site-packages\pip\_vendor\urllib3\util\connection.py", line 74, in create_connection
    sock.connect(sa)
OSError: [WinError 10048] Only one usage of each socket address (protocol/network address/port) is normally permitted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "path\to\project\venv\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 670, in urlopen
    httplib_response = self._make_request(
  File "path\to\project\venv\lib\site-packages\pip\_vendor\urllib3\connectionpool.py", line 392, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "C:\Program Files\Python38\li
... keep reading on reddit ➑

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/jabathehutstitty
πŸ“…︎ Aug 29 2020
🚨︎ report
Connecting Fritzbox and network sockets?

Hi,

I want to have network sockets in a room.

The network router (FritzBox) is located outside of this room.

Question: Is the setup shown in the pic a feasible solution or would this not work properly/at all?

https://preview.redd.it/t4epy4ig7wm51.jpg?width=1063&format=pjpg&auto=webp&s=8d91420d59e39319754f2b0ee403257d0680dab6

cable: https://www.amazon.de/dp/B07ZVL5FR3

sockets: https://www.amazon.de/deleyCON-Netzwerkdosen-CAT6a/dp/B012G6MKKI

punch tool: https://www.amazon.de/LogiLink-Professional-WZ0001A-Auflegewerkzeug-Unterputzdosen/dp/B002B4LQWY

thanks

Dave

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/c1-c2
πŸ“…︎ Sep 13 2020
🚨︎ report
Destiny 2 for PC is now using Steam Network Sockets, so your IP is hidden from peers, making it impossible to be DDoSed anymore

So, Proof is incredibly difficult without going very deep into the technical way it was discovered (Binary reversing, looking at the assert strings). However, This update changed Destiny 2 PC to use Steam Network Sockets rather than normal Windows Sockets.

What does that mean? This means that Peers (other players, servers, etc) are no longer addressed by IP Address, but instead a Steam ID. Valve then takes this Steam ID Address, routes packets to the nearest Steam Data Center, then bounces the packets around inside of Steam's data network and exits them closest to the peer. The only IPs you would see are entry points to the Steam network, which masks your IP from your neighbors.

the tl;dr: You can no longer be DDoSed. Your IP is hidden from other players in the game.

You can read more about Steam Network Sockets here: https://github.com/ValveSoftware/GameNetworkingSockets and here: https://partner.steamgames.com/doc/api/ISteamNetworkingSockets

πŸ‘︎ 749
πŸ’¬︎
πŸ‘€︎ u/RoyAwesome
πŸ“…︎ Mar 10 2020
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.