Questions tagged [network-protocols]

1

votes
1

answer
323

Views

“installing” Kaitai Struct Python

I need help with installing Kaitai Struct on my Laptop. I installed python-kaitaistruct and compiled the network files. But i get an import error: Traceback (most recent call last): File 'test2.py', line 1, in from ethernet_frame import * File '/home/bene/python/ethernet_frame.py', line 15, in fro...
Benedict Schlüter
1

votes
0

answer
58

Views

Message protocol / broker that is suitable for cellular connections?

I am working on a system where multiple devices (autonomous vehicles, smartphones and stationary sensors) collect data, send it to a backend and perform commands submitted by users through a web frontend. The devices communicate with the backend wirelessly through a cellular connection or wifi. The...
Shawn Austin
1

votes
0

answer
63

Views

Minimal comunication required to cast media

I'm trying to launch a media stream on the Chrome Cast device. Documentation seems not to be very accessible. After digging around the internet here is what I think I should do: Build JSON according to the Load message with the correct media url Pack it with urn:x-cast:com.google.cast.media namespac...
majkrzak
1

votes
0

answer
22

Views

Chrome: how to open a local pdf on a specific page

For an online pdf I can simply add #page=10 after the url to open the pdf on the page 10. But this doesn't work for local pdf. Let's say I open this url file:///C:/Users/Me/Desktop/My%20Documents/textbook.pdf in chrome. If I add #page=10 at the end of the link (the pdf has more than 50 pages), th...
MagTun
1

votes
1

answer
1.3k

Views

Best Practice: generating and parsing network packets for a known protocol in C#?

I tried asking a similar question recently however after several answers I realized it wasn't the correct thing to ask. Is there a guide or a generally accepted practice for generating and parsing network packets based on an existing protocol like SMPP (Short Message Peer-to-Peer Protocol [Used for...
Josiah Peters
1

votes
3

answer
271

Views

Design an ipstack in C++

I want to implement an IP stack in C++ as a training project for me to the Linux and networking world. I have some knowledge of how the Linux IP stack works, but, as I said I want to implement something in C++ which has a good design rather then focusing on performance. Does anyone know where I can...
DeltaSets
1

votes
2

answer
3.3k

Views

Call web service over HTTP on HTTPS page

I am having problems calling a web service using AJAX via HTTP when it's on an HTTPS page. Is this a cross-domain/protocol problem? Do I need to do the AJAX call in the same protocol as the page? Just wondering if it's the same problem as trying to do an HTTPS AJAX call when on an HTTP page, I susp...
Duncan
1

votes
2

answer
947

Views

Middleware with generic communication media layer

Greetings all, I'm trying to implement middleware (driver) for an embedded device with generic communication media layer. Not sure what is the best way to do it so I'm seeking an advice from more experienced stackoverflow users:). Basically we've got devices around the country communicating with our...
Tom
1

votes
1

answer
613

Views

Streaming audio - where to start?

I need to develop an embedded audio streaming server. Requirements: Voice quality or better Intended for low power wifi transmission Broad support in existing software and devices (ie, windows media player, quicktime, vlc, iPhone, Android, etc). Royalty/patent free, or cheap to license Preferences...
Adam Davis
1

votes
2

answer
613

Views

TCP Slow Start, Congestion Avoidance & Determining Bandwidth

Is there a formula someplace which can be used to determine the minimum number of segments / bytes which need to be transfered across a TCP connection to determine it's bandwidth and which takes into account Slow Start and Congestion Avoidance? I'm aware of the pathrate tool, but I want if possible...
Robert S. Barnes
1

votes
2

answer
1k

Views

Books for transport layer protocol implementation in Computer Networks

I am trying to implement a transport layer protocol for my project. I am going to use Linux as my operating system. Could you please suggest me some books or links that explain the implementation of transport layer (like TCP)? Thank you.. Thanks, Bala
bala1486
1

votes
1

answer
347

Views

Adding methods to a simple RPC server in a clean and separated way

I created a simple RPC server to perform certain tasks common to our teams, but which are called from different networks. The server looks like this (I don't include error handling for brevity): from twisted.internet.protocol import Protocol, Factory from twisted.internet import reactor import json...
Escualo
1

votes
1

answer
1.4k

Views

C++ methods for network protocol parsing

I am looking for a good strategy people use in C++/C to parse complex binary network protocols (such as DNS). Any tips and articles would be great.
unixman83
1

votes
2

answer
86

Views

Protocols/Methods available to synchronize msgs and their acks in a broadcast asynchronous network system?

What are the protocols/methods available to synchronize msgs and their acks in a broadcast asynchronous network system? We are using UDP with ACKs and timer to see if there is a need for a resend (max send same msg 3 times).
yeeen
1

votes
1

answer
151

Views

Difference between SMS and Network SMS

I need to know the difference between one simple SMS and one Network SMS?
Pedro
1

votes
1

answer
443

Views

Retrieving the protocol of a socket in winsock

I am working in networking reliability simulation, I need to simulate packet dropping based on a quality of service percentage. Currently I have a DLL that hooks into send, sendto, recv and recvfrom. My hooks then 'drop' packets based on the quality of service. I just need to apply the hook to UDP p...
Ramon Zarazua B.
1

votes
1

answer
788

Views

What are possible ways to send Game/Simulation State with javaNIO?

i heard this phrase quite often to 'send the game state or simulation state ' in network game/simulation realm and my question is stem from that and i really need to know how? . I m working on real time network physics simulation, my question is only that : *How simulation state can be transfer from...
static void main
1

votes
2

answer
4.1k

Views

How to know the application layer protocol in TCP?

I watched in wireshark that there's no dedicated field to identify the application layer protocol,but how does wireshark do that?
compile-fan
1

votes
1

answer
411

Views

android sipdroid RTP packet class hasMarker function always returns false.

I am using android SipDroid RTP packet class in my VoIP android application. I am fragmenting the captured frames into small packets. I have set seqno, timestamp and marker. But when I see log RTP packet marker hasMarker function always returns false . Even I set it to true it returns only fa...
Sureshkumar Menon
1

votes
4

answer
704

Views

examples of protocols using UDP initially followed by TCP

Hey SO, What examples do you know - of protocols initially 'handshaking' in UDP, then 'conversing' in TCP. I know there are heaps, I just can't seem to think of any right now. Specifically, I'm trying to write a Wireshark dissector - for this kind of protocol. So being able to peek on a similar diss...
Trevor
1

votes
1

answer
264

Views

Strange net paths in WHOIS

As a self-learning project, I'm implementing a C++ whois client. I'm using a couple of ancient C implementations for reference, e.g. koders.com. One thing puzzles me. As well as the expected path format, like example.com, example.co.uk, 192.0.32.10 or 2620:0:2d0:200::10, the old C implementation...
Michael J
1

votes
1

answer
144

Views

Is it possible to simultaneously transmit a basic ring topology?

Is it possible to simultaneously transmit with a basic ring topology? In a basic ring topology can I have more than one token? Is Active Monitor will remove tokens if I have more then one? Can you give some useful link about it?
Dor Cohen
1

votes
1

answer
186

Views

Analyzing a given TCP connection

I would like to analyze a given TCP connection and record the total number of losses, as well as detailed analysis such as how many losses were of type tripple-duplicate ACKs, single-timeouts, double-timeouts, triple timeouts, etc. Can anybody suggest a good tool for this? Thanks in advance!
psidemus
1

votes
1

answer
1.1k

Views

intercepting http proxy - disadvantages compared to a normal proxy

I would like to know how 'realistic' is to consider implementing an intercepting proxy(with cache support) for the purpose of web filtering. I would like to support also IPv6, authentication of clients and caching. Reading to the list of disadvantages from squid wiki http://wiki.squid-cache.org/Squi...
Ghita
1

votes
1

answer
65

Views

What is multicast scheduling?

I am currently working on a project with Stanford's netFPGA cards and want to implement a simple example of a primitive multicast scheduler just to demonstrate the concept. Any examples or documentation of multicast scheduling would be appreciated.
Nirma
1

votes
1

answer
1.1k

Views

How does proxy bypass firewall filter?

I am wondering how the proxy will bypass the content filter within firewall? For example, if you are in China and try to connect to facebook, the GFW will block it. But if you use proxy server, then you can connect through. What is the logic here? Thanks,
Alfred
1

votes
1

answer
1.4k

Views

ASINetworkQueue delegate method not called

In my application i am using ASINetworkQueue method for downloading files. I have n number of buttons and for each button click different Queues will be created with multiple Requests, and starts download asynchronously (multiple download). It is working fine, but I couldn't track when each Queue co...
Mithun
1

votes
1

answer
1.4k

Views

HttpURLConnection doesn't seem to be using cache on Android

I have recently switched my app from using AndroidHTTPClient to using HttpURLConnection. I am trying to get the caching capability of HttpURLConnection to work, and am having no success. Here is my code for doing the Http request URL url = new URL(currentURL); ResultAndUrl result = null; final Htt...
Leo
1

votes
2

answer
234

Views

The best way to send a file over a Network

I want to send a file to the Browser via the REST Interface. Can you suggest the most efficient way to do it, Keeping in mind the following? Not much traffic. I am fetching the file from HBase which means when I fetch it from HBase I get it in Byte Array. The files are not in any folder in the serve...
JHS
1

votes
2

answer
531

Views

BGP control plane information in MPLS VPN

I am learning about MPLS VPN networks. From my understanding an IGP runs on all core routers (P and PE), while BGP runs on all PE routers. Once the IGP has conveyed reachability information to all routers, and all routers have converged, the exact labels to be used to transfer packets are assigned u...
Hashken
1

votes
1

answer
1.1k

Views

How much time will it take to transmit one bit on a 1 gigabit link?

I want to answer 1 second, since all that the 1 Gbps link will do is transfer up to 1 billion bits per second which will not necessarily increase the time that it will take to transmit. I'm pretty sure I'm wrong so can someone correct me? Also, How long (in meters) will it take that bit to transfer...
ManOx
1

votes
1

answer
1.4k

Views

How to discover Unique Device IDs in Bluetooth network with Web APIs?

How to discover Unique Device IDs in Bluetooth network with Web APIs, not with native Java APIs? Any working example? WebKit still has not implemented this APIs: Discovery API https://bugs.webkit.org/show_bug.cgi?id=101162 Bluetooth API https://bugs.webkit.org/show_bug.cgi?id=101034 and Mozilla are...
Binyamin
1

votes
4

answer
2.9k

Views

How to manage Cisco IOS configuration file versioning?

Just wondering what is the best way to give configurations a version. To elaborate - I want to have different versions of configuration files and query the running-config for the currently running configuration version. Is there a MIB OID that I can set to specify the current running configuration...
ac84
1

votes
1

answer
270

Views

Media Resource Control Protocol (MRCP) and Dictation (Speech Recognition without Grammars)

Does Media Resource Control Protocol (MRCP) tells about Speech Recognition but does not tell anything about Dictation (Speech Recognition without sending Grammars).At least I can not find anything. Why it does not? Or do I understand MRCP wrong? If so what MRCP says about Dictation?
Hippias Minor
1

votes
1

answer
218

Views

Existing Event Driven Network Protocols

I am building a set of programs that consist of multiple clients and a single server. The clients are frequently pushing small packets of data to the server, which will validate the information (returning an error if the data is invalid), and process the received information. The information may the...
topherg
1

votes
2

answer
686

Views

What is the purpose of a CRC on a payload when the payload is broken across multiple packets?

I have been reading up on a custom low-speed communication protocol, which calculates a CRC for the full payload. This payload may be split up into multiple packets. The custom protocol runs on top of an existing bus protocol, which allows for optional per packet CRCs. So what may happen is: Pkt 0...
Joshua
1

votes
1

answer
192

Views

installing rules in openflow

In Openflow, we install rules with priorities. Now suppose we already have two rules installed at a switch, of priority 1 and 2. And now we want to add another rule, of some priority strictly between 1 and 2 (say 1.5). What is the usual way to handle this scenario.
Shambo
1

votes
1

answer
1.8k

Views

Stop-and-Wait Protocol - How does it handle last ACK dropped?

I am implementing a client/server echo program using the Stop-and-Wait protocol. Part of the implementation is to randomly introduce drops from the server. I am actually randomly dropping ACKs as well as FRAMEs. A side effect of this is the introduction of a corner case: If the last ACK from the ser...
ross
1

votes
1

answer
96

Views

Network protocol for multi-way communication

I'm writing a piece of software that needs to be run on multiple machines (3-4 at a time), and show the same data. Data can be modified from each one of the machines, and the changes would be immediately sent to the other machines. There is no central server, but all machines are friendly and on the...
configurator
1

votes
1

answer
195

Views

Is there latency of an application?

Latency (delay) is defined here as the time that a packet spends in travelling between sender and reciever. Above definition is made for IP packets as far as I can understand. Can we say latency includes retransmission time for missing frames in data link layer? Or this definition assumes there is n...

View additional questions