INDAPlus21 / INDAPlus21/carlch-sockets

Pass

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

**Very well done Carlle!**

Unfortunately I'm a Windows pleb. This means that your operation system oriented C programs are uncompilable in my environment. Even when I've replaced your library imports with Windows equivalents, I get hit with shit like,
```
c:/mingw/bin/../lib/gcc/mingw32/9.2.0/../../../../mingw32/bin/ld.exe: C:\Users\viola\AppData\Local\Temp\ccQ89FBM.o:main.c:(.text+0x615): undefined reference to `inet_pton'
collect2.exe: error: ld returned 1 exit status
```

It's also creepy to get a firewall warning dialog from your client program.

WHAAAAY(????):
```go
for {
// b := ""
netData, err := bufio.NewReader(c).ReadString('\n')
if err != nil {
fmt.Println(err)
return }
temp := strings.TrimSpace(string(netData))
spliced := strings.SplitN(temp, " ", 2)
if spliced[0] == "SERVER" {
broadCast(c, spliced[1])
fmt.Println(spliced[1]);
continue
}
ctemp := getKey(spliced[0], c)
if ctemp == c {
c.Write([]byte("SERVER No such user is connected to server!"))
continue
}
message := spliced[1]
ctemp.Write([]byte(message))
c.Write([]byte(message))
}
```

Remember:
[![](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fpeople.via.ecp.fr%2F~enizor%2FformationRust%2Fimages%2Fferris.png&f=1&nofb=1)](https://www.reddit.com/r/rustjerk/)

Keep it up!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report does not name a source file, test, or entry point to inspect. Start by identifying the C programs and Go client/server code related to the reported Windows build and firewall behavior; done would require a clearly defined, tested Windows-compatible change.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, go
Domain
networking, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
10/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.