So, Lets firstly set-up the remote repository: Step 1 : ssh will get me access to console on remote pc, will ask for remote pc's password Step 2 : create a directory with extension .git Step 3 : go to created directory Step 4 : initialize git Step 5 : Update Server configuration for access from non local sites Step 6 : Exit from remote access $ssh username@ipaddressofserverpc $mkdir my_project.git $cd my_project.git $git init --bare $git update-server-info # If planning to serve via HTTP $exit Now, On local machine: Step 1 : go to local folder Step 2 : Initia...
This is sample code for UDP Server and Client Communication in C++. Things to keep in mind : First Run server and then client If you receive error 10054 while running client, it is because of recvfrom() in client.cpp , as it is trying to receive from null reference. Either comment out recvfrom() or start server first. //============================================================================ // Name : Simple C++ UDP Server.cpp // Author : Manish Kumar Khedawat //============================================================================ #include "stdafx.h" #include <iostream> #include <winsock2.h> #include<stdio.h> #define BUFLEN 512 #pragma comment(lib,"ws2_32.lib") //Winsock Library, To Avoid Error in Visual Studio Compilation using namespace std; int main () { WSAData version; //WSAData is Structure which holds the information about windows socket implementation WORD mkword = MAKE...