Click here to Skip to main content
15,886,724 members
Everything / Protocol

Protocol

protocol

Great Reads

by Henrique Dal Bello
This article describes a DLL made to help the community when communicating with Tightening Controllers via Open Protocol.
by Matthew Dennis
A Redis Client written from the ground up using System.IO.Pipelines, Span, etc
by Maxim Komlev
.NET classes to enumerate applications associated with protocol
by Zehaie M. Hailu
Python lends itself to the development of multi-threaded GUI and network applications.

Latest Articles

by Matthew Dennis
A Redis Client written from the ground up using System.IO.Pipelines, Span, etc
by Henrique Dal Bello
This article describes a DLL made to help the community when communicating with Tightening Controllers via Open Protocol.
by MehreenTahir
This article will introduce the third option for data serialization. It is a beginner’s walkthrough of Google Protocol Buffer. Let's move beyond XML and JSON.
by johnniealan
ArcNet Protocol basics

All Articles

Sort by Score

Protocol 

18 Aug 2019 by Henrique Dal Bello
This article describes a DLL made to help the community when communicating with Tightening Controllers via Open Protocol.
29 Apr 2021 by Matthew Dennis
A Redis Client written from the ground up using System.IO.Pipelines, Span, etc
6 Oct 2015 by Maxim Komlev
.NET classes to enumerate applications associated with protocol
26 Jul 2016 by Zehaie M. Hailu
Python lends itself to the development of multi-threaded GUI and network applications.
25 Feb 2013 by Richard MacCutchan
You already posted this question at internet packet size help.....?[^]; if you have additional information to add then please edit the original.However, as I indicated in the previous question you can send a single byte via a socket. And if that byte only contains 1 significant bit of...
25 Feb 2013 by Sergey Alexandrovich Kryukov
There is no such think as 1-bit package, quite apparently. The trick is: no matter what you do, you always create some application-layer protocol (http://msdn.microsoft.com/en-us/library/system.speech.recognition.dictationgrammar.aspx[^]) to conduct your application semantic in your network...
3 Aug 2023 by CPallini
The good news is the manufacture provides plenty of documentation. The bad news is you have to study it (we cannot do that for you). In my experience, the MODBUS protocol is fairly simple to understand, you could start with it.
14 Oct 2011 by Richard MacCutchan
Just add the message length to the beginning of your message as an integer value (don't forget to convert it via htonl()[^]. You could also send this value independently of your actual text and let the receiver re-assemble it when handling the input messages.
30 Jun 2012 by suvam8694
i want to study in detail about the networking concepts in C including sockets, implementing TCP/IP and other protocols.i also want to learn the SSL enabled networking using C. I don't want to use any third party library instead i want to learn the core and the advanced concepts in this...
19 Oct 2012 by Sergey Alexandrovich Kryukov
I would say, this one:http://msdn.microsoft.com/en-us/library/system.runtime.serialization.json.datacontractjsonserializer.aspx[^].If helps you to serialize not just the object, but some arbitrary object graph. Also, it's totally non-intrusive. You only develop data types, with...
23 Feb 2013 by OriginalGriff
To be honest, the fact that you have to ask, pretty much says that you won't understand the answer...Protocols are not designed in any programming language: nor are they intended to be implemented in any specific programming language.They are designed in English (or other natural...
17 Jul 2013 by H.Brydon
What you want to reearch is Data Marshalling[^] and its close cousin Serialization[^]. These are common tasks in computing.The main point is that if your struct/class just contains fundamental data types[^] and no pointers, just send it across the wire without conversion and read "as is" on...
15 Apr 2014 by James_Finch
Why not create a server / client program set? It's not too difficult to create a server client relationship using TCP or some other protocol other than RDP. The 'client' can monitor pretty much any activity on the host machine (as well as control it) and report back to the 'server'.
15 Apr 2014 by Sergey Alexandrovich Kryukov
AsmoconX wrote:This is a test environment and information is not meant to be added or modified on the remote systems (for validation and testing requirements). The test-process requires us to login to the system using a Remote Desktop Connection and perform a set of tests within that Remote...
30 Jul 2017 by GPrasad2050
Hi , If you are using IIS 8 you can try below setting IIS 8.0 The enableProxyMode attribute was added to enable you to block requests from a client that connects through a proxy. The denyAction attribute was added to specify the default deny mode response that IIS sends back to clients. ...
13 Nov 2017 by Jochen Arndt
You should have a device driver for the communication. This should provide functions to setup the interface and read and write data (usually with a pointer for the data and a size parameter). Quote: In the protocol there is a lot of Octets(octetos) which consists of 8 bytes that the protocol...
13 Nov 2017 by Patrice T
An octet is a byte: Octet (computing) - Wikipedia[^] Quote: ::= 05 Hexadecimal ::= 06 Hexadecimal ::= 15 Hexadecimal ::= 10 Hexadecimal Those are standard ASCII codes, this notation is used because those are non printable. Ascii Table - ASCII character codes and html, octal, hex and...
4 Jun 2019 by Member 14480530
I have a Measurement Computing 1208FS-Plus that is connected to a measurement device. The 1208 plugs directly into my laptop and I want to use Splunk Light to capture the measurements real time 1000ms and capture that data for historic. I think that I need a VB.Net or c# application to capture...
4 Jun 2019 by MadMyche
You will need to write an application as you assumed. Luckily both the parties involved have documentation, APIs, and or SDKs available. Measurement Computing | Custome Programming | Library | C#.NET[^] Splunk SDK for C#[^] Now you should have roadmaps to tell you not only how to get the data...
31 Mar 2021 by Richard MacCutchan
Quote: JavaScript stores dates as number of milliseconds since January 01, 1970, 00:00:00 UTC (Universal Time Coordinated). So you need to subtract the number of ticks between Jan 1 0000 and Jan 1 1970 and then convert the result into...
1 Nov 2015 by ASP.NET Community
Hosting a WCF Service with netTcpBinding on IIS7
3 Sep 2011 by K.Kirivarnan
Register New Account using Matrix XMPP Library
14 Oct 2011 by elgaabeb
Hi I'm trying to implement a client/server protocol buffer stream.When using tcp/ip the issue is to know where a message end and a new message begin.The solution is to implement length-prefix messaging system.Is there a way to send message-length + message at the same time through a...
28 Apr 2019 by Himachandra
Hai All, Now i am struggling with MODBUS communication protocol for Rs-485 Communication. And how should i communicate my Device via RS-485. Now i didn't get any data from these serialport communication.Can any one explain me how to communicate devices with RS-485 .Thanks in ADV,
5 Jun 2012 by suvam8694
i am using visual C#.i have some body structure of the formBODYSTRUCTURE ((("TEXT" "PLAIN" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 717 9 NIL NIL NIL)(("TEXT" "HTML" ("CHARSET" "utf-8") NIL NIL "QUOTED-PRINTABLE" 3126 40 NIL NIL NIL)("IMAGE" "PNG" ("NAME" "image.png")...
10 Jun 2012 by suvam8694
can I fetch multiple body parts of a single email message using IMAP commands.For example, is there something like -fetch 1:1 body[RFC822.HEADER 1 2 3...]and finally plz tell me if i am right or not considering the following case.if i know the bodystructure than the body part...
16 Oct 2012 by batuhan karaduman
Hello,Is there anybody who codes smb protocol or windows file copy? can someone help me how to use in c#?thanks a lot.Have a nice day
19 Oct 2012 by ShacharK
Hey,I'm trying to write a protocol parser in C# which would be simple to maintain.My input is a Json payload, and I'm trying to convert it into a certain Request object in my inheritance-tree according to its identifier (which is obviously commonly named across all requests...).I'm...
23 Feb 2013 by Alamgirable
I want to design my own protocol like TCP/IP i want know that which programming language should i use to design my own protocol.
25 Feb 2013 by H.Brydon
What you want to do is analogous to mailing a microdot to someone using the post office mail system. You would typically package your payload in a container which goes in an envelope, which you write the "from" and "to" addresses on. Even if your payload is microscopic, there are other things...
11 Oct 2013 by Vijay Pareek
hi, is there any GUI environment for NS2 ? i want to create a protocol so i need the gui base. if there is any way please let me know. i have installed ns2 successfully, but there is no any GUI only command based. Thanks
11 Oct 2013 by Richard MacCutchan
See http://www.isi.edu/nsnam/ns/[^].
31 Oct 2013 by Bhuvanesh Mohankumar
Hi,Hi,This can help you. “Microsoft Terminal Services Control Type Library” from the COM tab of reference. This will add MSTSCLib.dll to the project. Look at this link and start your project from basic information...
26 Nov 2013 by walterhevedeich
I think that's the whole idea behind putting the transmission under HTTPS/SFTP: to prevent your data from being sniffed. I think a better approach would be to scan the source or destination, if you have access.
27 Nov 2013 by Dave Kreskowiak
You can't. It's that simple.Unless your app is the one doing the transfer, you can't get the filename or any other data about the transfer. You're trying to be the "man in the middle" that encryption protects against!Events really aren't going to help you because not every browser...
1 Jul 2015 by Abhinav S
You could try changing the registry value at HKLM\Software\Microsoft\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQLServer\SuperSocketNetLib. The server name might vary.Alternately, you could use WMI - System.Management Namespace[^].Here is an example - Configure Aliases Programmatically...
31 Jan 2020 by SohaibX
Hello,I'm pretty new on SignalR, I've Self-Hosted a signalR at http://localhost:8080Let's say my computer's IP is 192.15.15.15. I Need my client to connect to this host, with IP Address like http://192.15.15.15/signalr but when I try to connect I get the errorBad Request - Invalid...
1 Sep 2015 by mayooran99
I have made a simple app that reads and writes to a HID device when connected to a Windows machine. The code is written in Java. But is it possible to run the same java code to get the hid device information connected to an android device? Will the hidapi work in android devices? I was unable to...
22 Nov 2015 by SohaibX
Well figured it out. all you need to do is to place a * in the place of IP address. Thus hosting signalr server to this ip address. https://*;
17 May 2016 by Rajesh Londhe
The local computer IP address is not accessible from any application running on same computer.If you have published the SignalR on IIS, then using the IP address you mentioned, it is possible to access the server in LAN.If you want to access "localhost" on same computer, then simply...
12 Feb 2017 by Member 12556580
I have installed the npcap driver, because I want to monitor the windows loopback adapter. However the loopback adapter is not in the SharpPcap CaptureDeviceList. What should I do to monitor the loopback adapter using SharpPcap?What I have tried:I see the loopback adapter in...
12 Feb 2017 by Member 12556580
The following option should be turned on during installation of Npcap:- Support loopback traffic- Install Npcap in WinPcap API-compatible modeand the following option should be turned off (so not greyed out, but turned off) during installation of Npcap:- Use DLT_NULL as the loopback...
15 Apr 2017 by OriginalGriff
We do not condone, support, or assist in the production of malicious code in any way, form, or manner. This is a professional site for professional developers. If you want to know how to create such things, you need to visit a hacking site: but be sure to disable all firewalls and antivirus...
30 Apr 2017 by Member 11247684
I draw the a topology where each node is an object of class SensorNode, the blue links indicate the links between each node with its neighbors where the circles around the nodes represent the transmission range for each node. The sink also is an object of class Sink. I need to instantiate...
30 Apr 2017 by FranzBe
What NotPolitcallyCorrect wrote is right. Perhaps the following might give you some starting point. void Main() { var s1 = new SensorNode(1, "don't care", 0, 0); var s2 = new SensorNode(2, "don't care", 0, 0); var sink = new Sink("don't care", 3, 0, 0); sink.AddSensor(s1);...
30 Jul 2017 by User 11061201
I want my ASP.net written WEB application to deny entrance to those clients that connect over a Proxy. I want thus to stop automated BOTS.
2 Nov 2017 by Dave Kreskowiak
You're not going to get that done here. CP is not a code writing service. You're BEST source for this modification is the people that wrote the driver originally.
21 Dec 2017 by Member 13589269
I am working on a testing tool for nvme-cli(written in c and can run on linux). For SSD validation purpose, we are actually looking for sending I/O commands to a particular Submission queue(IO Queue pair). We needed this because we wanted threading, but for threading to happen we need to send...
26 Dec 2017 by Dave Kreskowiak
Why are you not asking Alibaba? They would be the experts on their own cloud services.
27 Dec 2017 by Member 13596834
Among all of the nodes in the RPL dodag, one of them will select the worst parent as its preferred parent i.e. the node wont follow the objective function to select the best one as the other nodes. Ans then it will update the parent set and again selects the worst one and keeps doing so over and...
27 Dec 2017 by Richard MacCutchan
If you do not understand their product then try one of the relevant sites for documentation and/or help forums: Contiki and Cooja - Google Search[^].
11 Jan 2018 by Member 13618207
Hi!!! I am newbie here. I am looking out for SIP SDK which can talk to SIP providers and which provide the following built-in features : 1. Broadcast Calls, messages to phones, emails and faxes 2. IVR with voices and keys pressed recording options 3. Inbound Calls 4. Media sharing 5....
11 Jan 2018 by Pete O'Hanlon
A place like Quick Answers really isn't the place to come for a question like this. What you need to do is work out what your requirements are (for instance, how many simultaneous lines do you need to support), and use that as a basis to investigate the various SIP providers. Have a search on...
7 Aug 2018 by OriginalGriff
No. There are protocols - lots of 'em - but no particular device has to use it, unless it is actually connecting to a communications medium - such as a LAN, WiFi network, or the internet which requires a specific form of communication like Internet Protocol for example. Even then, the...
28 Apr 2019 by Member 12969497
WIN32 C++ code RS485 modbus 4 way relay module. Best compiled with MS Visual studio. Open source project will allow you to customize according to your requirements. No closed source limitations. MessageBox(NULL,"WIN32 C++ for MS Visual Studio Rules!",NULL,NULL); rs485modbus download |...
4 Jun 2019 by Gerry Schmitz
Splunk basically told you to get lost. Time to go spelunking for a different solution; unless you like dead ends.
21 Oct 2019 by Lance1140
I code on an iSeries with CL/RPGLE. Our email program needs to connect and send mail using MS O365 accounts and the TLS protocol for security reasons with port 587. For testing, I used TELNET to the O365 STMP server using port 587, the EHLO command and starting TLS using the STARTTLS command...
31 Mar 2021 by zeeShan anSari
Hello, Can someone tell me how to convert DateTime64(6,UTC) into Date or readable string in javascript. Let's suppose I have Int64 value 637453206453037910 (precision 6, UTC) so how to convert 637453206453037910 in the proper datetime string....
16 Sep 2023 by Dave Kreskowiak
Serial over COM ports is just sending a stream of bytes. You have to come up with your own communication protocol, defining what those bytes mean and when on your won. Whether or not you have to escape anything is entirely up to the protocol you...
16 Sep 2023 by Patrice T
Quote: Is escape bytes a must or not for a serial communication protocol ? As us, the question barely make sense. You need to know that 'Serial' is an interface, an extremely simple one, mostly naked, no feature other than a reasonable effort to...
18 Sep 2018 by MehreenTahir
This article will introduce the third option for data serialization. It is a beginner’s walkthrough of Google Protocol Buffer. Let's move beyond XML and JSON.
9 Jul 2015 by Pavel Durov
In this article I will explain how to create a local WebView hosted Html/Javascript application on Winrt Platform and how to establish the communication between both sides.
16 Oct 2013 by ASP.NET Community
 I hosted my wcf service with wsHttpBinding as well as netTcpbinding.While I hosted with netTcpBinding on IIS 7 follwing things I have considered,
21 Sep 2015 by Lao Chen
A lightweight method to process binary XML. As a general data representation technique, it simplifies the design of database and protocol with convenience.
22 Aug 2014 by Joren Heit
Designing and implementing a Pi2Pi chat-protocol in C++
30 Jun 2012 by Volynsky Alex
Please look the TCP/IP Sockets in C: Practical Guide for Programmers[^] book by Michael J. Donahoo and Kenneth L. Calvert modified for use with WinSockThe is also a great book : C++ Network Programming, Volume I: Mastering Complexity with ACE and Pattern[^]Regards,Alex.
5 Apr 2010 by Mahdi Mansouri
This program shows you how to control, give set-point and get feedback from Hua YI made Power Supplies
16 Apr 2014 by AsmoconX
The situation (all parts of program are built using C#):The program MUST run on a CLIENT PC. A user will manually login to the Host using windows built in Remote Desktop Connection. Only one Remote Connection will be open at any given time.I am curious if there is a way for the program...
30 Jun 2012 by Amarnath S
You may be overwhelmed by the amount of information available in books. I find that the best way to learn about these is to take an online (and hopefully free) online course.While I'm yet to come across an online networking course, I find that a seven-week-long online *free* course on...
13 Nov 2017 by KarstenK
You should work with buffers of 8 byte size. You can call it "octet". byte octet[8];// or char strncpy( octet, "it works", 8); Pay attentation that in a normal string the last element is the terminating zero, so you have 7 chars "payload". It also possible to use the 8th byte, when the code...
15 Jul 2014 by Member 10948324
I am new to Java but I have some experience in C, C++ and Python programming for GUI and other mathematical coding for C++/Qt applications. I know basics of Java.I have a received a good job opportunity and I need to learn Network programming in Java for handling Network Management Protocols...
11 Oct 2013 by ridoy
Check it:Visual Network Simulator[^]
25 Feb 2013 by Alamgirable
I am working on a project in which i have to send data in bits.Is it possible to send 1 bit from one computer to another through internet.Most of the people said to me that minimum internet packet size is 64bytes.If i send 1bit from one computer to another then packet bandwidth is 64bytes.
22 Feb 2013 by Alamgirable
I know that minimum internet packet size is 64 bytes.I just want to know that if i transfer 64 bytes of data through internet to another computer.Then how much total data will transfer through internet.
8 Mar 2012 by Sergey Alexandrovich Kryukov
To best of my knowledge, to work with RS-485, you can use exact same class you would use with RS-232: System.IO.Ports.SerialPort, please see:http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx[^].Please...
17 Jul 2013 by Alamgirable
I want to create my own network packets.How can i create my own network packets in c++,OR edit the packets.
30 Jun 2015 by agent_kruger
I need a code that programitically enables SQL Protocol such as (Tcp/Ip,Named Pipes,VIA) which can be found in SQL configuration Manager. Can anyone help me with a piece of code snippet.Possible Answer[^]above is a link i found while searching on the internet but do not know what to fill...
13 Nov 2017 by Tecnico guardiancar
I'm trying to write some minor code for requesting a response for a electric meter using an optical probe. The cable is still arriving, so while I'm waiting, I have to write the code for it, and I have no clue. The protocol is ABNT NBR-14522 which is based on IEC-62056 and ANSI-C12.2....
10 Jun 2012 by prof. J. Verhas
How the URL is passed to the Custom Protocol Handler and how long it can be?What about extended characters in different browsers?
31 Oct 2013 by Lovewateruni
Hi all!I'm doing a project: "C# Program to support router information Protocol", but I don't knowI will how start!about Router: limit router or not?about host: Limit host???about Ping: ???tks all! :)
26 Nov 2013 by wusir371
I am developing a file transfer monitor system. For HTTP and FTP file transfer, it no problem to monitor the Port 80(HTTP) and Port 21(FTP) to capture the file transfer information. However, for SFTP(Port 22) and HTTPS(Port 443),the file name cannot be captured because of the encryption.Is...
23 Jun 2014 by Martin Gillmann
Hi codeproject members.I bought a cctv system (from China) and it all works well for surveillance. I can see the live footage on my android phone throuth the app vMEyev2. But as I'm a geek, I'd like to go further and get more out of my DVR that just live footage. I'm more interested in the...
7 Aug 2018 by leone
Hi. I am working for a broadcast company. And i realised that we are using many kind of devices such as satellite recievers (both home type and industrial type), signal decoders, regular switches and routers and many more which even i dont know what they do. long story short, i wonder is there a...
4 Aug 2023 by Mathis Metereau
Hello For a personal DIY project, I want to make an app that measure water consumption and send the data to an API. I have the Keyence FD-Q50C clamp on flowmeter that has a screen to display the data. The flowmeter can be connected to the IO...
19 Sep 2023 by Code_bro
Is escape bytes a must or not for a serial communication protocol? I am asking this question because I heard from many people that there is no way to implement a serious serial protocol without escaping. What I have tried: Nothing. Just some...