Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
/ SocketCpp Public archive

Simple Socket connection in C++ (with sending image between client and server)

License

Notifications You must be signed in to change notification settings

sinadalvand/SocketCpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SocketCpp (Windows)

Simple Socket connection in C++ (with sending image between client and server)

branches

  • 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

How to use:

all cpp file has compiled output that you can run by below command:

  1. fist run server:
server.exe
  1. 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 :)

License

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.

About

Simple Socket connection in C++ (with sending image between client and server)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages