Programming associated with creating and managing networks as well as adding network connectivity to a (set of) programs.

learn more… | top users | synonyms

-3
votes
0answers
28 views

sending list of filename in the pwd of server to client

i want to send to the client the list of filename in the pwd of the server. I have a working socket connection. i am able to print all the files in the server directory. With "get" I am able to fetch ...
-2
votes
0answers
10 views

Can anyone explain how to calculate subnets on this given picture?

this is the link to the actual problem I actually don't know how can I calculate the total number of subnets in the given networks.is there any shortcut to derive.
-2
votes
0answers
26 views

How to Implement a flow control protocol for TCP connections according to the following description for transmitting data packets

I have to implement two clients, each with only one thread of execution, and a server, with two threads of execution. I want Implement a flow control protocol for TCP connections according to the ...
0
votes
0answers
24 views

How to send ACK/NACK to server

Below is client and server program that I wrote. Now I am confused how to send ack/nack in my program. I saw few answers on stackoverflow but i am still confused. Can you give an example of ACK/NACK ...
-4
votes
0answers
36 views

Programming an online game [on hold]

Last year I've tried learning network game programming by creating a really simple "survival" 2D Java game. Basically players can connect to somebody hosting a server, "zombies" will indefinitely ...
1
vote
1answer
21 views

Android application and raspberry pi communication

I am working on a project which uses Raspberry pi to feed my pet. This is my first project on Raspberry Pi. I am referring to this tutorial on Instructables. The tutorial uses external switches and ...
0
votes
0answers
26 views

SFML Networking - Error Sending Packet through UDP protocol

I'm pretty new to SFML networking and have been working on a pong clone for quite some time. I've written two programs: a client and a server. My problem is that the two don't seem to properly send/...
-1
votes
0answers
11 views

How to get LAC and CID of any Phone number

I have an android app Net-monitoring which shows the LAC and CID of my working sim card but there is no option to type a mobile number of anyone else. I want to obtain LAC and CID of someone else's ...
2
votes
1answer
27 views

How to schedule long running network tasks at specfic time in android?

I have to schedule some long running network task(downloading files) at some specific time (for ex during night hours). Now it can be done using job scheduler but in doc it says that it should be used ...
-1
votes
0answers
13 views

Android - service that reply to http requests when I'm offline

Will it be possible to make some sort of service, network interface, vpn, etc. that when I'm offline (both WiFi and Cellular Data is turned off), can reply to http requests from all sorts of apps. I....
-1
votes
0answers
29 views

Multithread dir list in an Active Directory domain using PowerShell [duplicate]

I want to get a directory list from C:\Users of all PCs in my domain. I have admin rights. I want to start it in 100 jobs at the same time and after the 100 jobs ends, start another 100 jobs again ...
-1
votes
0answers
16 views

Powershell get running processes with md5

Good morning, everyone I would like to get know how to get running processes with their file path and md5sum of current system. Furthermore, if i can get the processes of remote computers, that would ...
0
votes
3answers
22 views

“Standard” approach to collecting data from/distributing data to multiple devices/servers?

I'll start with the scenario I am most interested in: We have multiple devices (2 - 10) which all need to know about a growing set of data (thousands to hundreds of thousands of small chunks, say 100 ...
0
votes
1answer
12 views

How to use processors of several computers in a network in TF

I'm asking this because it's completely new for me (It's more about a computer networks in Linux question than about TF, but maybe someone has already done it) Since my GPU is not able to compute the ...
0
votes
1answer
18 views

macOS/ OS X network traffic monitoring with swift/obj-c for all processes

I'm looking for a solution to programmatically monitor all traffic in macOS/OS X. For example, i got some NSRunningApplication with it's processIdentifier, and create NSTask instance, requesting to ...
-2
votes
0answers
10 views

How is data interpreted by machine on port

I'm really new to networking, and I have a question a can't find out the answer. Basically, it seems every computer gets connections using ports. The port to be used is determined according to how you ...
1
vote
1answer
17 views

How does this PF rule serve in “stopping all probes from outside the network”?

Referring to Section 29.3.3.3. Managing ICMP of the FreeBSD Handbook, I see the following text with example: One solution is to let all ICMP traffic from the local network through while stopping ...
0
votes
0answers
8 views

How do you find loops in a BGP routing

I'm trying to program a simplified version of a eBGP speaker. For the import policy, I want to make sure that any new route that I import doesn't have any loops. The routing table that I build looks ...
0
votes
1answer
46 views

socket.error: [Errno 32] Broken pipe

I wrote a client-server python program where the client sends a list to the server, the server receives the array, deletes the first two elements of the list and sends it back to the client. There is ...
-2
votes
0answers
18 views

How to generate random traffic on network using omnet++?

I am new to omnet++. I am working on simulation of Optical WDM network. I created 14 node NSFnet network. Now I want to generate random traffic on that. can anyvody help me. How to generate trandom ...
0
votes
0answers
13 views

How many network packets can one CPU handle? [closed]

I am developing a TCP proxy server application. During the load test on a linux version 2.6 box with 24 cores CPU, 96GB memory and 1000Mbps network, I found the CPU load reaches 24 above when the ...
0
votes
1answer
33 views

Can I Use an IP Address in a SRV Record?

I'm trying to understand whether or not is it possible to use an IP address in a SRV record's "Target" section instead of an hostname. I noticed that when querying an SRV record (using dig or dnsjava)...
0
votes
1answer
23 views

Is it possible to make my own network requests to a “smart” device without an API?

What I'm asking here may not be possible at all, due to my lack of knowledge with networks. I want to start playing around with IOT objects in my house. I would love to be able to control various ...
0
votes
0answers
7 views

Pfsense remote automated administration

Is it possible, with a pfsense pc as a router, to write a script on my pc that will send and/or execute settings changing script on the router. Allowing me to change settings with a click on a client ...
0
votes
0answers
14 views

Is there a standardized notation to specify network ports/ranges?

I am implementing a component that receives IP addresses and port ranges from command line or configuration files. For IP addresses, I use the CIDR notation. However I'm unable to find out if there is ...
0
votes
0answers
12 views

Concurrent remote desktop connection to a host system running on 64bits windows 7

I am trying trying to connect thin clients to a 64 bit windows 7 host. After carrying out the necessary configurations and installing the patch, I start connecting the thin clients to the host, but ...
1
vote
1answer
22 views

socketChannel throws IOException with Permission Denied

A code that worked me for a while now on various platforms started to suddenly to fail, there were changed in the code but not in an area that related to this place. The line of code that throws the ...
0
votes
0answers
17 views

What's the expected behavior for this GET request?

For a school assignment I'm creating a basic web server and I'm struggling to understand how I'm supposed to respond to this request in the testing script. Procedure: Writes "GET /loadavg HTTP/1.0\r\...
0
votes
2answers
20 views

C program outputting strange “ur message” while trying to use sockets

I'm new to C programming and I've been trying to write a program to send a message to itself, receive the message, and send one back. I found an example of a client and server program and basically ...
-3
votes
0answers
7 views

how do i search about the newest terms in IT? specially in computer networking [closed]

i need to know how do i learn anything new in IT and specially in computer networking? enter image description here
0
votes
0answers
8 views

Get RTT and queue length simultaneously in Mininet

The RTT can be measured in Mininet using the function ping. How can I obtain the queue lengths of each node through which the packet is delivered?
-1
votes
1answer
25 views

Why am I unable to prioritize TCP traffic using ToS fields?

I am trying to prioritize TCP traffic using ToS field in IP header. I am saturating the interface(ethernet) by sending 1GB data through iperf with ToS field set to 0x10 (Minimize-Delay). I then start ...
2
votes
1answer
42 views

accept() failing after successful socket(), bind(), listen() with errno 88 ENOTSOCK

Trying to get my simple FTP server running. It is running on a remote server. Using cat /etc/*-release reveals the server is running CentOS Linux 7 core. Referenced: http://pubs.opengroup.org/...
0
votes
0answers
27 views

Storing network via ERGM function: Error: (list) object cannot be coerced to type 'double' in

Hi smart people out there! I am trying to create a function of ERGM to obtain the change of network statistics of each network when a random edge is removed. Func <- function(network){ newergm &...
0
votes
1answer
28 views

OPC vs SNMP protocol

Let me start with a full disclosure : I have been given a mission which is out of my leauge and I am 'grasping at straws' here. the back story : I have 3 different pieces of hardware . all of them ...
0
votes
0answers
21 views

A python program for file download. But only data in last packet is written

everyone. I write a server program and a client program and client is designed to download file from the server. The following is a part of client program: if Type == DS.CONTROL_IDX: if data["...
1
vote
0answers
38 views

Get raw http request string for given data C++

I'm looking for simple solution in C++ to get raw http request string from given data, something like request parser. For example, I'd like to have some kind of object, to which I can pass arguments ...
0
votes
2answers
14 views

Client-Server messaging gives error (Python - socket programming)

I am trying to write a simple client-server program using python (not python3) and whenever I type a message to send it gives me various errors such as: File "", line 1 hello my name is darp ...
0
votes
1answer
14 views

Calling connect() multiple times on UDP socket to send to different target address - valid?

I'm working on a UDP communication protocol implementation. I've got a question in regards to connect() call for UDP. I want to use connect() and send() rather than sendto(). Usually the receiver ...
0
votes
0answers
40 views

Mapping 1 MiB of reserved memory for Network Interface Card(NIC) driver in arm Linux kernel version 4.3

I have reserved 1 MiB of memory for TX/RX rings and DMA buffers for a NIC driver in arm Linux environment. I can manage this memory by Io-remapping and using dma api's. The issue is for TX callback ...
0
votes
0answers
35 views

How to avoid “SocketException: An address incompatible with the requested protocol was used.”

I'm using websocket-sharp as a webserver in a project. On Windows I create 2 HttpServers like this HttpServer s1 = new HttpServer("http://[::0]:8080") // IPv6 HttpServer s2 = new HttpServer("http:...
0
votes
1answer
14 views

Netmask of the network class of minimum size

Given two IP addresses, let's say 112.119.240.17 and 112.121.120.19, find the netmask of the network class of minimum dimension/size that would contain them both. So the problem I am facing is that I ...
-1
votes
1answer
22 views

Connect to Internet via Linux Gateway [closed]

Aim I have 3 computers A,B,C (all Ubuntu) connected to a network. Their IP addresses are: 192.168.30.100, 192.168.30.101, 192.168.30.102 respectively and the common Gateway is 192.168.30.1. DNS is 8....
0
votes
1answer
68 views

SOCKETS (Networking) - TicTacToe Game

I am creating my own Tic-Tac-Toe game. At this stage I am trying to add a networking functionality to it, which would allow two players in the same network - but in different devices - to play ...
2
votes
0answers
32 views

Constant Socket Connection in Java Between two Servers - Implementation?

I am writing a multiplexer/demultiplexer in Java. Each side of a single TCP connection is maintaining and queueing data from clients/services for the other side, like this: [clients] - [mux] - [...
0
votes
1answer
11 views

How to use all the available interfaces at the same time?

I am using ubuntu and for one of my project I am working, I want to use all the available interfaces at the same time (mainly wifi and wired). I don't want any kind of priority for that. Whether it ...
0
votes
0answers
5 views

Eneter Framework on Android - Empty message

I don't know if anyone here has ever worked with the Eneter Messaging Framework, but my problem is the following: I have an application in .NET which acts as a server and an android app which acts as ...
-2
votes
0answers
27 views

Remote Procedure Calls in Linux with C

How to write a c program for Linux environment for remotely shutting down the remote system i.e using Client-Server architecture. Which technology should be preferable??
1
vote
1answer
30 views

PHP app, web services & separate IP addresses

I am working on an app where each customer has its own profile. One of the features allows sending SOAP requests to systems owned by customers. Currently all communication with customers web services ...
1
vote
1answer
38 views

Confused about boost::asio::yield order of execution in same strand

I am trying to write a Client with asio that does the following: Connects to a server. Tries to read back some data after it is connected to the server. The problem I am finding is that operations ...