Created socket to connect
This commit is contained in:
parent
9f41258198
commit
e0663bc38b
Binary file not shown.
@ -17,6 +17,7 @@ CMakeFiles/KeyMaster_server.dir/src/server.c.o
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_types/_uint8_t.h
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_types/_uintmax_t.h
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/alloca.h
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/arpa/inet.h
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/fcntl.h
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/gethostuuid.h
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/i386/_mcontext.h
|
||||
|
||||
@ -16,6 +16,7 @@ CMakeFiles/KeyMaster_server.dir/src/server.c.o: /Users/AfonsoCMSosua/Developer/K
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_types/_uint8_t.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_types/_uintmax_t.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/alloca.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/arpa/inet.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/fcntl.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/gethostuuid.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/i386/_mcontext.h \
|
||||
@ -308,18 +309,6 @@ CMakeFiles/KeyMaster_server.dir/src/server.c.o: /Users/AfonsoCMSosua/Developer/K
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/wait.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/constrained_ctypes.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/alloca.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_types/_uint8_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_null.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/malloc/_malloc_type.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h:
|
||||
@ -380,7 +369,7 @@ CMakeFiles/KeyMaster_server.dir/src/server.c.o: /Users/AfonsoCMSosua/Developer/K
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/netinet6/in6.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/malloc/_malloc.h:
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/arpa/inet.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/stdio.h:
|
||||
|
||||
@ -390,6 +379,18 @@ CMakeFiles/KeyMaster_server.dir/src/server.c.o: /Users/AfonsoCMSosua/Developer/K
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_nlink_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/wait.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/constrained_ctypes.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_null.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/alloca.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_types/_uint8_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_types/_uint64_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/libkern/i386/_OSByteOrder.h:
|
||||
@ -434,18 +435,20 @@ CMakeFiles/KeyMaster_server.dir/src/server.c.o: /Users/AfonsoCMSosua/Developer/K
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/fcntl.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/stdint.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_key_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/i386/_mcontext.h:
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/malloc/_malloc.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_sigset_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/machine/signal.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_pthread/_pthread_attr_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/usr/lib/clang/15.0.0/include/stdint.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/i386/_mcontext.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_key_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/secure/_strings.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/secure/_stdio.h:
|
||||
@ -454,12 +457,12 @@ CMakeFiles/KeyMaster_server.dir/src/server.c.o: /Users/AfonsoCMSosua/Developer/K
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/machine/_param.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_ctermid.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_size_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/i386/types.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/_ctermid.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h:
|
||||
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_fd_copy.h:
|
||||
|
||||
BIN
build/CMakeFiles/KeyMaster_server.dir/src/server.c.o
Normal file
BIN
build/CMakeFiles/KeyMaster_server.dir/src/server.c.o
Normal file
Binary file not shown.
@ -130,6 +130,7 @@ CMakeFiles/KeyMaster_server.dir/src/server.c.o: \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/sys/_types/_iovec_t.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/netinet/in.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/netinet6/in6.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/arpa/inet.h \
|
||||
/Users/AfonsoCMSosua/Developer/KeyMaster/include/herror.h \
|
||||
/Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk/usr/include/setjmp.h \
|
||||
/Users/AfonsoCMSosua/Developer/KeyMaster/include/dynmem.h \
|
||||
|
||||
@ -1 +0,0 @@
|
||||
empty
|
||||
@ -1 +0,0 @@
|
||||
2
|
||||
Binary file not shown.
@ -134,6 +134,7 @@ int main(void)
|
||||
while (1)
|
||||
{
|
||||
printf("List of existing passwords:\n<------->\n");
|
||||
|
||||
// Show passwords that are stored in the server
|
||||
printf("<------->\n\n");
|
||||
choice = prompNormalRequest(">> ");
|
||||
|
||||
@ -3,12 +3,13 @@
|
||||
#include <termios.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include "herror.h"
|
||||
#include "dynmem.h"
|
||||
#include "ui/ui.h"
|
||||
|
||||
#define SERVER_IP "XXX.XXX.XXX.XXX"
|
||||
#define SERVER_IP "148.71.10.137"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user