socket

  1. S

    Raw socket programming in linux

    Hi there, im working on raw sockets in c, I have a char buffer with a multiple raw ethernet packets, received from a raw socket (Interface : eth1). Now i want to send the those packets over other raw socket(Interface : eth2 ), if i try to send those packets through the send() call he is...
  2. U

    Socket hangs in recv randomly

    Hi, I have set up a network with a Linux host communicating over TCP/IP with a standard Windows computer. There is a strange behavior occurring sporadically and maybe you have an idea where this might come from. On Linux side there has been a standard TCP socket created which listens for an...
  3. M

    How to calculate TCP socket memory usage?

    Hi everyone, I am running a Debian GNU/Linux 9.5 (stretch) with kernel: 4.9.0-7-amd64. I am trying to figure out TCP sockets memory usage, but with my calculations I seem to be missing something. According to the following outputs /proc/net/sockstat: sockets: used 779 TCP: inuse 23 orphan 0...
  4. C

    Send screen via socket problem for systemd (I think)

    server.py import socket import cv2 import struct import numpy as np from PIL import ImageGrab from time import sleep import pickle con = socket.socket(socket.AF_INET, socket.SOCK_STREAM) con.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1) con.bind(("localhost",3344)) con.listen(1) while...
Top