Simple Socket connection in C++ (with sending image between client and server)
- showip => socket code that try to get ip address from url
- base => simple socket send text message from client to server
- update => previous simple app but using new functions
- file => same previous project but if you type
"Image"
in client you will get image from server
all cpp file has compiled output that you can run by below command:
- fist run server:
server.exe
- then:
client.exe address
** if server is in your local machine you should replace address to "localhost"
Finally:
now all is yours, send command in client and see result in server :)
Copyright 2020 Sina Dalvand
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.