Questions tagged [enet]

ENet provides a relatively thin, simple and robust network communication layer on top of UDP. The primary feature it provides is optional reliable, in-order delivery of packets.

ENet provides a relatively thin, simple and robust network communication layer on top of UDP. The primary feature it provides is optional reliable, in-order delivery of packets.

48 questions
0
votes
1 answer

"TypeError: 'tuple' object is not callable"

So i am trying to make a Growtopia Server Emulator but i actually got this confusing error. I couldn't find anything about... Here's my code import cgi #not used yet import http.server import logging #not used yet import socketserver class…
0
votes
1 answer

How can I spawn two nodes at different coordinates using High Level Multiplayer (ENET)?

Currently, I am using High Level Multiplayer (ENET) with Godot to spawn two player nodes (with KinematicBody2D and Collisions). For reasons of collisions causing problems, I cannot have the players spawn in the same coordinates, so I am trying to…
Alexis Evelyn
  • 304
  • 5
  • 17
0
votes
1 answer

How to scale Enet (UDP)?

The creator of enet told me that enet can handle 4000 connections per host, the OS won't be able to manage more than that. How to go above that? If I use docker containers, they're still using the same OS right? So I haven't really solved anything…
Lynob
  • 5,059
  • 15
  • 64
  • 114
0
votes
0 answers

Cross-compiling enet from Linux to Windows, linking errors

Introduction I'm trying to cross compile to Windows from Linux using MinGW-W64. I had it working before I added enet to my project, however I'm now receiving issues with linking to enet CMake finds enet correctly. ENET_LIBRARY and ENET_INCLUDE_DIR…
rubenwardy
  • 679
  • 5
  • 21
0
votes
0 answers

LNK1104 error cannot open file enet.lib

I'm trying to make an online game using ENet and Cocos2d. I defined the include folder and the libs as well everything is good for the server side and it compiled and working 100%. But when I tried to do the same for client side it gave me this…
Omarito
  • 577
  • 6
  • 22
0
votes
1 answer

Bitwise integer concationation

For some background, I'm trying to write a system to pass packets of integers for the purpose of building a maze using a boolean toggle to decide whether two nodes should have a wall between them, currently my maze handles 480 walls, therefore I…
Ben Bowen
  • 174
  • 1
  • 13
0
votes
1 answer

ImportError: No module named spatial_dropout, caffe, ENet

When I try to train this net i got an error: ImportError: No module named spatial_dropout Does anybody know how to fix this? I tried to use this instruction.
Denis
  • 261
  • 3
  • 10
0
votes
1 answer

UWP application refuses to receive data in P2P server part

I am trying to create P2P(UDP) windows 10 UWP application written in c++ using networking library written in C (tried both enet and libuv). The problem is when the app is acting like client everything works as expected, but when I am testing the…
Gabriel kotev
  • 369
  • 3
  • 15
0
votes
1 answer

enet_host_create returns NULL on Windows

I wrote a sample code using ENet, which was working fine under Linux but on Windows, enet_host_create returns NULL. This is a strange behavior since enet_host_create is one of the first function called while using ENet, previously any connection…
MadMass
  • 313
  • 3
  • 10
0
votes
0 answers

ENet : Failed to connect to local server from iOS real device BUT do work when using desktop client

As i continue to check this great lib with iOS device which is iphone 5 iOS 8.3 I have strange ( or not ) connection error When i try to connect the server which is running from my xCode . and Iphone app is running from xcode also . The line : if…
user63898
  • 29,839
  • 85
  • 272
  • 514
0
votes
1 answer

SIGSEGV, Segmentation fault. Only on linux, it works on windows

I have been stuck on this for hours, for some reason I am getting a Segmentation fault error only on Linux. It only happens with packets of length 17 or more characters. I am using Enet library to send the packets. Anyone can help me out, I don't…
MaxVerro
  • 96
  • 1
  • 9
0
votes
1 answer

TFTP Client (based on ENET) won't connect to remote TFTP server

I'm trying to implement a TFTP client in C (Windows, Visual Studio 2005). The TFTP client is supposed to connect to a remote TFTP server address on port 69. The TFTP client is using the ENET API for the networking stuff, but I can't get it to…
user1884325
  • 2,530
  • 1
  • 30
  • 49
0
votes
1 answer

Issues with converting a constant char array to an unsigned char pointer

I have been working on a project and boy oh boy does my head hurt on this one. I am using a networking library called "enet" and I am trying to assign the client who connects information. Using the tutorial on the site, I use:…
Jacob Hartmann
  • 115
  • 1
  • 1
  • 10
0
votes
1 answer

How to install enet using luarocks

I tried to install enet for lua using luarocks. First, I checked out enet (the library) from github and compiled it: svn co https://github.com/lsalzman/enet.git/trunk enet.git cd enet.git autoreconf -vfi ./configure && make && make install This…
Henrik Ilgen
  • 1,879
  • 1
  • 17
  • 35
0
votes
2 answers

Nothing received from recvfrom on windows

I have some problems on Windows 8 using recvfrom. I have a socket which is bound to INADDR_ANY (0.0.0.0), and i'd like to receive some packets on it. The problem is that I see those packets in Wireshark, but recvfrom never tells me that the received…
hilnius
  • 2,165
  • 2
  • 19
  • 30