Questions tagged [handshaking]

Anything related to handshaking in telecommunications, i.e. a process of automatic (software or hardware) negotiation of communication parameters between two interconnected devices.

Anything related to handshaking in telecommunications, i.e. a process of automatic (software or hardware) negotiation of communication parameters between two interconnected devices.

See Wikipedia page on handshaking.

43 questions
18
votes
1 answer

WebSocket connection failed with nginx, nodejs and socket.io

I try to setup nodejs with nginx. But when the client try to connect it fails with... WebSocket connection to 'ws://www.mydomain.com/socket.io/1/websocket/KUv5G...' failed: Error during WebSocket handshake: 'Connection' header value is not…
Stephan Ahlf
  • 3,310
  • 5
  • 39
  • 68
10
votes
2 answers

SSL_CTX_set_cert_verify_callback vs. SSL_CTX_set_verify

Can anyone tell me what is the difference between SSL_CTX_set_cert_verify_callback and SSL_CTX_set_verify? From OpenSSL docs: SSL_CTX_set_cert_verify_callback() sets the verification callback function for ctx. SSL objects that are created from ctx…
BreakPoint
  • 101
  • 1
  • 3
9
votes
5 answers

Low-Level control of RS232 (Com-Port) RTS/CTS/DTR/DSR possible?

I wonder if and how it's possible to control the RS-232 handshaking lines directly from win32 (the old C-API). I'd like to interface with an external piece of hardware, and two simple data-lines would be sufficient for my needs. So - is there a…
Nils Pipenbrinck
  • 83,631
  • 31
  • 151
  • 221
6
votes
1 answer

TCP handshaking fails - what's wrong with the server's reply?

I'm building a server with the ENC28J60 chip and a PIC18F4620. The chip is connected to my PC via ethernet. Currently, I'm trying to set up the TCP connection over which I'll build an HTTP connection later on. I have never worked with TCP…
user1544337
5
votes
3 answers

accept() method and tcp/ip handshake

I use java ServerSocket class for server application. Does accept() method participate in tcp/ip handshake? As I see in tcp/ip dump and from command netstat, clients establish connections with before accept method is called and return Socket…
Art Spasky
  • 1,635
  • 2
  • 17
  • 30
4
votes
2 answers

create a websocket handshake using android as server and a browser as client

i would like to be able to use the browser as an editor for sms on my android device (something like https://www.mysms.com). so i started to write an android app which acts as socket server and use the browser as client (such as…
richard
  • 724
  • 2
  • 14
  • 36
3
votes
0 answers

Websocket handshake, JWT understanding security

Hi I'm trying to understand how this handshake works and JWT. So I have something as web page where the some user can go and login itself. Then I create an JWT, so when I do request to the server I use this token to verify the user. I would like to…
Alex
  • 579
  • 5
  • 24
2
votes
0 answers

Java handshake_failure

I am trying to code a discord bot for my discord server at the moment and want to include a stats command for various games. I have everything setup and it actually works, but there is one problem: when I use a stats command for the first time after…
Tobias
  • 92
  • 1
  • 9
2
votes
1 answer

how to call google page after shake

I tried to call google page after shake iPhone. I tried like this: - (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event { if(event.type == UIEventSubtypeMotionShake) { [self shakemethod]; [self open]; …
Pavan Alapati
  • 317
  • 1
  • 5
  • 17
2
votes
1 answer

Cassandra handshake and internode communication

While trying to use the cassandra 2.0.1 version, i started facing the handshaking with version problem . There was an exception from OutboundTcpConnection.java stating that handshaking is not possible with a particular node. I had a look at the…
Ananth
  • 971
  • 9
  • 23
2
votes
0 answers

Investigating SSL Handshaking details in JAVA

One of my applications uses socket for making connection for network message handling. It uses https and everything is ok with message handling. I need to log whatever happens in handshake process for any possible problems in SSL connection…
Mehdi
  • 746
  • 1
  • 10
  • 25
1
vote
1 answer

why some tcp packets doesn't have sequence number in tcpdump?

I have a redis server on my host(macOS), it's port is 6378, first I execute this command: sudo tcpdump -vvvn -i lo0 port 6378 Then execute this in another tab redis-cli -h 127.0.0.1 -p 6378 And here is the results from tcpdump after redis-cli…
Willis
  • 599
  • 3
  • 25
1
vote
0 answers

Kafka SSL handshake failed

I setup the SSL for kafka. First of all, I create the keystore and trustore by following command : keytool -keystore server.keystore.jks -alias localhost -validity 1000 -genkey keytool -importkeystore -srckeystore server.keystore.jks -destkeystore…
user14193666
  • 11
  • 1
  • 2
1
vote
1 answer

CH340 handshaking using libusb

Does anyone know how to read CTS pin of CH340 using libusb_control_transfer? I can write to RTS using following code: libusb_control_transfer( handle, // libusb_device_handle * dev_handle CTRL_OUT, // …
modman
  • 11
  • 3
1
vote
2 answers

How does SSL session caching and expiry works

In order to understand how connection is established in rest web service, I am learning about handshakes (TCP & SSL). I am trying to figure out about the additional overheads with respect to time when it comes to SSL handshaking and TCP…
Onki
  • 1,879
  • 6
  • 38
  • 58
1
2 3