Skip to content

implemented SEQ_SOCKET type#3

Open
Kejsty wants to merge 2 commits intospito:masterfrom
Kejsty:master
Open

implemented SEQ_SOCKET type#3
Kejsty wants to merge 2 commits intospito:masterfrom
Kejsty:master

Conversation

@Kejsty
Copy link
Contributor

@Kejsty Kejsty commented Apr 22, 2016

No description provided.

void Manager::bind( int sockfd, Socket::Address address ) {
auto sd = getSocket( sockfd );

if (!sd) throw Error ( EDESTADDRREQ );
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nový řádek

@spito
Copy link
Owner

spito commented Apr 22, 2016

To nepůjde, protože to není otestované v DIVINE. Napiš si testy. (Máš tam memoryleak.)

Jak se liší metoda peer a peerHandle? Nemohly by se třídy SocketDatagram a SeqPacketSocket sloučit v jednu třídu? Hodilo by se, abys používala všude jednotný coding-style. Mezery jsou nekonzistentní.

@vlstill
Copy link

vlstill commented Apr 23, 2016

Já mám taky nějaký připomínky:

  • čím se liší send mezi SeqPacket a SocketStream?
  • vůbec se mi nelíbí, že máš Packet definovaný dvakrát (a celkově duplikace kódu)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants