Ask coding questions

← Back to all posts
What should I add?
proryan

So I am making a new socket package that is not based on ip addresses...

Does anyone have any suggestions on what functions I should add in my socket package?

Voters
proryan
Comments
hotnewtop
xxpertHacker

Isn't Python's socket library implemented in C, not Python?

proryan

@xxpertHacker Yes, it is but... I'm trying to make a new package that uses requests and flask. My a package that is very similar to pythons socket package except without the ip addreses.

xxpertHacker

@proryan What advantage(s) does that provide?

proryan

@xxpertHacker Well for a first, you wouldn't have to host your server on domain name(like https://example.com) and instead on any subdomain or port. You could even host the server on one of repl.it's subdomains. Second, the package should be easier to use than python's builtin socket package. Most people just want to make a simple chat in python, they don't want to copy and paste code that they don't how it works or they don't know how to tweak. Most tutorials on youtube for a chat in python with sockets is with javascript and lot of beginners don't want to use javascript because they don't know its syntax. Most beginners get confused with stuff like "IF_INET". THough I do plan on adding many advance functions for professional developers, the first release of the package will be very simple with just basic functions such as send and receive. Eventually the functions will be advance stuff... So do you any have suggestions on what some of the advance features should be?

proryan

@xxpertHacker Just asking... is it okay if I repost this question with a better explanation.

xxpertHacker

@proryan ¯\_(ツ)_/¯ idk, I'm not a moderator here, you do you.

Also, I don't know what advanced features you should add either, since I don't use Python.