2020-09-18 02:22:59 -0600 | received badge | ● Famous Question (source) |
2019-10-17 05:57:51 -0600 | received badge | ● Notable Question (source) |
2019-05-23 14:21:33 -0600 | received badge | ● Popular Question (source) |
2018-08-24 08:03:28 -0600 | commented answer | Send/Receive vector <Mat> over Socket C/C++ That fixed it!! Thank you for your help @opalmirror. You're the man! |
2018-08-23 16:00:43 -0600 | edited question | Send/Receive vector <Mat> over Socket C/C++ Send/Receive vector <mat> over Socket C/C++ Hello, I'm trying to send a vector full of Mat images from one |
2018-08-23 16:00:09 -0600 | commented answer | Send/Receive vector <Mat> over Socket C/C++ I went ahead and updated the code with what I have at the moment. I'll try and implement the htonl/ntohl soon. |
2018-08-23 15:58:33 -0600 | edited question | Send/Receive vector <Mat> over Socket C/C++ Send/Receive vector <mat> over Socket C/C++ Hello, I'm trying to send a vector full of Mat images from one |
2018-08-23 15:58:03 -0600 | received badge | ● Editor (source) |
2018-08-23 15:58:03 -0600 | edited question | Send/Receive vector <Mat> over Socket C/C++ Send/Receive vector <mat> over Socket C/C++ Hello, I'm trying to send a vector full of Mat images from one |
2018-08-22 20:28:09 -0600 | commented answer | Send/Receive vector <Mat> over Socket C/C++ Thanks for reply @opalmirror. Yeah, I get the size of the entire uchar buffer and send it over the socket before I send |
2018-08-22 10:33:16 -0600 | commented answer | Send/Receive vector <Mat> over Socket C/C++ Sorry guys, I'm just now getting back to this. I only have one problem that I'm facing. What is the best way for the loo |
2018-08-14 14:05:21 -0600 | marked best answer | Send/Receive vector <Mat> over Socket C/C++ Hello, I'm trying to send a vector full of Mat images from one computer to another over a TCP/IP sockets C/C++ connection. Right now I can get the vector of Mat images and send it to another function to save them, then sends .png files over the connection. However, I want to be able to send just the vector over the socket and save the images (with imwrite) on the other system. I can make the connection and send data between them, because I've already sent an array, of type double, over and all the data was correct. When I tried the vector, I get segmentation fault (core dumped) which makes me think it's something to do with the size of the vector being passed incorrectly. I'm pretty new to socket programming, so I'm probably just making simple mistakes. Here is my code so far: Client ('images' is the vector): Server: Any help would be appreciated. Thank you. |
2018-08-14 14:05:21 -0600 | received badge | ● Scholar (source) |
2018-08-14 11:24:51 -0600 | commented answer | Send/Receive vector <Mat> over Socket C/C++ Thank you for the reply @berak. I'll give it a shot. |
2018-08-14 11:12:19 -0600 | commented question | Send/Receive vector <Mat> over Socket C/C++ Ok, Thank you. |
2018-08-14 11:07:21 -0600 | commented question | Send/Receive vector <Mat> over Socket C/C++ So Mat data type can't be sent over a socket in any way? |
2018-08-14 10:58:32 -0600 | asked a question | Send/Receive vector <Mat> over Socket C/C++ Send/Receive vector <mat> over Socket C/C++ Hello, I'm trying to send a vector full of Mat images from one |