network-protocols

TCP vs UDP - What is a TCP connection? [duplicate]

﹥>﹥吖頭↗ 提交于 2020-07-31 06:17:30
问题 This question already has answers here : Difference between TCP and UDP? (11 answers) Closed 2 years ago . What exactly is a TCP connection? I understand there isn't a physical connection from the client to server. Is this connection just the client's socket being linked with the new socket created by the server after the three-way-handshake? Thereafter once the "connection" is set up, the sockets on either ends of the connection then know where to send their packets. How does this differ

Is it possible to send LDAP “requests” via telnet?

主宰稳场 提交于 2020-04-10 07:14:39
问题 I am wondering whether is it possible or not to establish a connection to a LDAP server via telnet (or some other program) and start making requests and receiving responses as I would normally do with HTTP. In fact, the question is more generic and is related to my misunderstanding of network connections and communications protocols. Let me tell you the idea I have in my mind about this topic: All application protocols define communication protocols (that is, messages that the server is going

Why is the maximum port range 65535 in the TCP/IP Suite?

这一生的挚爱 提交于 2020-03-21 19:10:34
问题 My doubt is that - a port is just logical, so why such restriction ? Why can't I have a port of 9924593 or something like that ? 回答1: Look at the packet format for the TCP segment. The port identifiers are unsigned 16-bit integers, meaning that the largest number you can put in there is 2 16 -1 = 65535. 来源: https://stackoverflow.com/questions/36796183/why-is-the-maximum-port-range-65535-in-the-tcp-ip-suite

Why is the maximum port range 65535 in the TCP/IP Suite?

£可爱£侵袭症+ 提交于 2020-03-21 19:06:01
问题 My doubt is that - a port is just logical, so why such restriction ? Why can't I have a port of 9924593 or something like that ? 回答1: Look at the packet format for the TCP segment. The port identifiers are unsigned 16-bit integers, meaning that the largest number you can put in there is 2 16 -1 = 65535. 来源: https://stackoverflow.com/questions/36796183/why-is-the-maximum-port-range-65535-in-the-tcp-ip-suite

Why is the maximum port range 65535 in the TCP/IP Suite?

时光总嘲笑我的痴心妄想 提交于 2020-03-21 19:05:45
问题 My doubt is that - a port is just logical, so why such restriction ? Why can't I have a port of 9924593 or something like that ? 回答1: Look at the packet format for the TCP segment. The port identifiers are unsigned 16-bit integers, meaning that the largest number you can put in there is 2 16 -1 = 65535. 来源: https://stackoverflow.com/questions/36796183/why-is-the-maximum-port-range-65535-in-the-tcp-ip-suite

CoAP and DTLS integration

萝らか妹 提交于 2020-03-14 06:59:26
问题 I have implementation of CoAP (libcoap), and implementation of DTLS (tinyDTLS). How can I make integration CoAP (libcoap) with DTLS (tinyDTLS)? I will be grateful for the any advice. 回答1: Unfortunately, I don't have enough reputation to place a comment, even though this is not an answer. Here is my attempt to do the exact same thing, using the client-server examples from both libcoap and tinydtls. Feel free to fork the code, and please sumbit a pull request if you figure out why my client and

Connect to printer connecting on local network

半城伤御伤魂 提交于 2020-01-25 06:40:49
问题 I am new to android and working on printing modules now a days.I am developing an app to send print receipt to printers connected on my local network of my own choice. I am interested to see how many printers are connected on my local network if i click them the details should be shown somewhere. What i have tried to achieve this is implemented the example https://github.com/Bhagvati/NSD-Network-service-discovery-Android/blob/master/NSD/src/com/example/android/nsd/NSDMainActivity.java I have