Code Monkey home page Code Monkey logo

simple-webserver's Introduction

Oscar Sanchez

Current:

  • @Clever
    • Working on GetClever
  • Commonly used languages:
    • Javascript
    • Go

Past:

  • @PlayStation
    • Worked on both PS4 and PS5, spanning different system UI apps and social experiences like PS+, Game Help, Profiles, and more
    • Commonly used languages:
      • Javascript (Ember / React)
      • C++
      • C#
  • @Watsi
    • Worked on building and expanding our donations platform
    • Commonly used languages:
      • Ruby (RoR)
      • Javascript (Backbone)
  • @Twilio
    • Worked on the web and dev portals
    • Commonly used languages:
      • PHP
      • Javascript

simple-webserver's People

Contributors

labcoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

simple-webserver's Issues

Didn't work

root@vodri:/mycpp/simple-webserver# make
gcc server.c -o server
server.c:49:6: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
49 | void log(int type, char *s1, char *s2, int num)
| ^~~
server.c:20:1: note: 'log' is declared in header '<math.h>'
19 | #include <arpa/inet.h>
+++ |+#include <math.h>
20 |
server.c: In function 'main':
server.c:193:65: warning: passing argument 3 of 'accept' from incompatible pointer type [-Wincompatible-pointer-types]
193 | if((socketfd = accept(listenfd, (struct sockaddr *)&cli_addr, &length)) < 0)
| ^~~~~~~
| |
| size_t * {aka long unsigned int *}
In file included from server.c:17:
/usr/include/x86_64-linux-gnu/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'}
233 | socklen_t *__restrict __addr_len);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
root@vodri:/mycpp/simple-webserver#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.