socket.error: [Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions

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...

Interprocess communication in Python

What is a good way to communicate between two separate Python runtimes? Thing's I've tried: reading/writing on named pipes e.g. os.mkfifo (feels hacky) dbus services (worked on desktop, but too...

C# An established connection was aborted by the software in your host machine

These errors are getting more and more frequent on my Game Server. They are causing the server to keep closing and restarting... System.Net.Sockets.SocketException (0x80004005): An established...

Socket programming between client in C#.NET and server in C

Here I would like to ask how to create communication through socket programming between client (on Windows, using C#.NET) and server (on Ubuntu, using C). I have done successfully if the...

How to create a simple socket in node.js?

I'm trying to create a dummy socket for use in some of my tests var net = require("net"); var s = new net.Socket(); s.on("data", function(data) { console.log("data received:",...

htons() function in socket programing

I am new to socket programming and I am trying to understand the operation of htons(). I've read a few tutorials on the Internet like this and this one for instance. But I couldn't understand...

How to Send message From android device to PC USING WIFI

I have server on PC (using socket). I want send data (message) from android to PC server using WIFI. what should I use? socket on OR wifi direct? (on android). I've been looking for. Including...

Play Audio from client when message is recieved from socket.io - node.js

I've searched for a while for a solution to this problem, but haven't found much. My goal is to recieve a message from a udp client, which the server recieves and forwards to a web client, which...

How to connect two computer on Internet using Sockets in C#

I want to send data from PC-01 to PC-B, two computer connected on internet. Is it possible to write socket program in c#? I try to search lot, all most example on local computer or using static ip...

Linux x86_64 assembly socket programming

Hello all. So I'm learning assembly.And as per my usual learning steps with any new language I pick up I've arrived at networking with assembly. Which, sadly isn't going that well as I've pretty...

how to activate the TCP Fast Open in linux

I have 2 PCs linux (PC1: kernel 3.13.0-37 and PC2: kernel 3.11.0-12) PC1-------PC2(TCP server port 4410) From PC1, I m sending a tcp packet with TCP Fast Open (Fast Open Cookie Request) I m...

add option in tcp with scapy

Upon the receive of a TCP ACK (with option experiment) like this I want to generate a TCP SYN+ACK (with option experiment and Fast Open Cookie) as indicated below I want to generate the TCP...

Go, tcp too many open files debug

Here's a straightforward Go http (tcp) connection test script func main() { ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { fmt.Fprintln(w,...

io.emit vs socket.emit

I'm new to socket.io and have run in to something that seems pretty weird. I don't actually know the difference between socket.emit and io.emit but I can't find an explanation...

Send and Receive Data from TCP IP Socket Using VB.Net

Option Strict On Option Infer On Imports System.Net Imports System.Net.Sockets Imports System.Text Imports System.Threading Imports System.Net.NetworkInformation ''' <summary> ''' TCP Chat . '''...

C# - Sockets not receiving all bytes

I have been struggling to fix my mistake. My client/server seems to work fine when on the same machine. When the code is executed on a different PC, for some reason only part of the bytes are...

Best way to improve UDP transfer speeds with Python?

I have written a Python program for sending and receiving large files over UDP. Right now, I can hit speeds of about .01GB/s when transferring between two computers on a 10 Gigabit Ethernet cable....

Format and send seamless audio from JS to local PyAudio

I'm using Unix sockets to stream audio from my microphone (via an Electron NodeJS app) to a python program listening on the socket and sending the audio to PyAudio for playback. Electron app...

Send parameter to socket in swift iOS app

I am making chat application in swift by using socket.io and node.js. I need to send along the user name parameter with one socket method. I tried like below without sending parameter. This works...

com.jcraft.jsch.JSchException: timeout: socket is not established

I am trying to upload a file to a server (with java) where I have an acount and the SFTP connection stopped working (for a timeout problem I guess). I want to know is there a way to reset this...

can't connect TCP socket between Ubuntu and Windows

I made a server socket in Ubuntu and a client socket in Windows but the connection is refused on the server. It says: "Connection refused". I'm using Ubuntu 16.04 LTS and Windows 10. Both sockets...

OpenCV live stream video over socket in Python 3

I am trying to create a simple application to send live stream video over the socket in Python 3 with OpenCV. I am new to OpenCV and socket programming so if you can provide answer in detail I...

How to check if an IP is alive in a particular network, through Sockets?

I am building an attendance application for my college, where in I want to mark student attendance through the network. Every class room has seperate router and I want to basically check if...

Reading from a UNIX domain socket (QLocalSocket) on Qt

I am having trouble reading from a UNIX domain socket, server application is Python-based, and I need to implement IPC to communicate to Qt application as client. Server application is tested and...

Unix Domain Sockets datagram client with receive only

I have a simulator application which Unix Domain datagram sockets, which sends data to socket path for.ex /var/lib/XYZ. sendto is returning -2 which is due to other end no peer is there(no other...

ERROR SocketEnginePolling: Error during long poll request

let manager = SocketManager(socketURL: URL(string: "Some url")!, config: [.log(true), .compress]) var socket:SocketIOClient! var name: String? var resetAck: SocketAckEmitter? override func...

What is the file size after encryption using AES/CBC/PKCS5Padding in java

I tried to use encryption and decryption when sending files using socket. I use the AES/CBC/PKCS5Padding algorithm and first write the IV and then the file to the stream. The problem is that the...

Python - socket CAN connection

I am using python to receive data from Linux socket CAN. ID is 0x1f7d8401, whereas the ID of the data I received was 401, showing only the last three digits. What should I modify to get the whole...

Why does >16KB payload size result in huge decrease in throughput (TCP + TLS)?

The test consists of a server and a client sending messages of a fixed size back and forth, repeating for a long time. They are both single-threaded and written in C++ using the Boost ASIO...

Redis NOdeJs server error,client is closed

I am developing an application where chats has to cached and monitored, currently it is an local application where i have installed redis and redis-cli. The problem i'm facing is (node:5368)...

Relevant tags